std::piecewise_constant_distribution<RealType>:: intervals, densities
From cppreference.com
<
cpp
|
numeric
|
random
|
piecewise constant 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 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Factor operations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Interpolations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Saturation arithmetic | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Generic numeric operations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Bit operations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Pseudo-random number generation
|
|
std::piecewise_constant_distribution
Member functions | ||||
Generation | ||||
Characteristics | ||||
piecewise_constant_distribution::intervals
piecewise_constant_distribution::densities
|
||||
Non-member functions | ||||
(C++11)
(C++11)
(until C++20)
|
||||
(C++11)
(C++11)
|
std::
vector
<
RealType
>
intervals
(
)
const
;
|
(1) | (since C++11) |
std::
vector
<
RealType
>
densities
(
)
const
;
|
(2) | (since C++11) |
Returns the distribution parameters.
1)
Returns the list of boundaries of the intervals.
2)
Returns the list of probability densities of the intervals.
Parameters
(none)
Return value
The distribution parameters:
1)
The list of boundaries of the intervals.
2)
The list of probability densities of the intervals.
Complexity
Constant.
Retrieved from "
https://en.cppreference.com/mwiki/index.php?title=cpp/numeric/random/piecewise_constant_distribution/params&oldid=135841
"