|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
|
private |
Transforms a raw value to fit within the specified range.
| sample | Raw value from the distribution |
| start | Lower bound of the target range |
| end | Upper bound of the target range |
Different distributions require different mathematical transformations to properly map their output while preserving their statistical properties.
Definition at line 75 of file Stochastic.cpp.
References MayaFlux::Utils::EXPONENTIAL, m_type, and MayaFlux::Utils::NORMAL.
Referenced by random_array(), and random_sample().
Here is the caller graph for this function: