std::student_t_distribution<RealType>:: operator()
From cppreference.net
<
cpp
|
numeric
|
random
|
student t distribution
C++
Numerics library
| Common mathematical functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Mathematical special functions (C++17) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Mathematical constants (C++20) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Basic linear algebra algorithms (C++26) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Data-parallel types (SIMD) (C++26) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Floating-point environment (C++11) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Complex numbers | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Numeric array (
valarray
)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Pseudo-random number generation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bit manipulation (C++20) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Saturation arithmetic (C++26) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factor operations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Interpolations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Generic numeric operations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C-style checked integer arithmetic | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Pseudo-random number generation
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::student_t_distribution
| Member functions | ||||
| Generation | ||||
|
student_t_distribution::operator()
|
||||
| Characteristics | ||||
| Non-member functions | ||||
|
(C++11)
(C++11)
(until C++20)
|
||||
|
(C++11)
(C++11)
|
|
template
<
class
Generator
>
result_type operator ( ) ( Generator & g ) ; |
(1) | (C++11부터) |
|
template
<
class
Generator
>
result_type operator ( ) ( Generator & g, const param_type & params ) ; |
(2) | (C++11부터) |
관련 확률 함수에 따라 분포된 난수를 생성합니다. 엔트로피는 g. operator ( ) 호출을 통해 획득됩니다.
첫 번째 버전은 연관된 매개변수 집합을 사용하고, 두 번째 버전은 params 를 사용합니다. 연관된 매개변수 집합은 수정되지 않습니다.
매개변수
| g | - | 균일 난수 비트 생성기 객체 |
| params | - | 연관된 매개변수 대신 사용할 분포 매개변수 집합 |
| 타입 요구사항 | ||
-
Generator
는
UniformRandomBitGenerator
의 요구사항을 충족해야 합니다.
|
||
반환값
생성된 난수.
복잡도
분할 상환된 상수 횟수의 g. operator ( ) 호출.