std::piecewise_linear_distribution<RealType>::intervals, densities
From cppreference.com
< cpp | numeric | random | piecewise linear 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) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Factor operations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Interpolations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Saturation arithmetic | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Generic numeric operations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Pseudo-random number generation
|
|
std::piecewise_linear_distribution
Member functions | ||||
Generation | ||||
Characteristics | ||||
piecewise_linear_distribution::intervalspiecewise_linear_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 at the boundaries of the intervals.
Parameters
(none)
Return value
The distribution parameters:
1) The list of boundaries of the intervals.
2) The list of probability densities at the boundaries of the intervals.
Complexity
Linear in the number of intervals in this object.