MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ validate_range()

void MayaFlux::Kinesis::Stochastic::Stochastic::validate_range ( double  min,
double  max 
) const
private

Definition at line 179 of file Stochastic.cpp.

180{
181 if (min > max) {
182 error<std::invalid_argument>(Journal::Component::Kinesis, Journal::Context::Runtime, std::source_location::current(),
183 "Stochastic: min must be <= max. Received min: {}, max: {}", min, max);
184 }
185}
@ Runtime
General runtime operations (default fallback)
@ Kinesis
General mathematical and physics algorithns.

References MayaFlux::Journal::Kinesis, and MayaFlux::Journal::Runtime.

Referenced by batch(), and operator()().

+ Here is the caller graph for this function: