You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > RandUniform Method > Matrix.RandUniform Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.RandUniform Method ()

The pseudo random sample generator with continuous uniform distribution.

Syntax
C#
Visual Basic
public TMtxVec RandUniform();

Fills the calling object values with pseudo random samples following the continuous uniform distribution using the parameters Low = 0, High = 1. The value for the seed is obtained from the CPU clock.

var a: Matrix; begin a.Size(10,10,False); a.RandUniform(0,5); end;
Copyright (c) 1999-2022 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!