[−][src]Function opencv::core::randu
pub fn randu(
dst: &mut dyn ToInputOutputArray,
low: &dyn ToInputArray,
high: &dyn ToInputArray
) -> Result<()>
Generates a single uniformly-distributed random number or an array of random numbers.
Non-template variant of the function fills the matrix dst with uniformly-distributed random numbers from the specified range:
Parameters
- dst: output array of random numbers; the array must be pre-allocated.
- low: inclusive lower boundary of the generated random numbers.
- high: exclusive upper boundary of the generated random numbers.
See also
RNG, randn, theRNG