PicoScenes API Docs
 
Loading...
Searching...
No Matches
SystemTools::Math Namespace Reference

Functions

template<typename DataType >
DataType uniformRandomNumberWithinRange (DataType min, DataType max)
 Generates a uniform random number within a specified range.
 

Function Documentation

◆ uniformRandomNumberWithinRange()

template<typename DataType >
DataType SystemTools::Math::uniformRandomNumberWithinRange ( DataType  min,
DataType  max 
)

Generates a uniform random number within a specified range.

Template Parameters
DataTypeThe type of the number.
Parameters
minThe minimum value of the range.
maxThe maximum value of the range.
Returns
A random number within the specified range.

Definition at line 320 of file SystemTools.hxx.