You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Vector Structure > Vector Methods > RandUniform Method > Vector.RandUniform Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Vector.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(100,False); a.RandUniform(0,5); end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!