Returns a random number between 0 and 1.

Namespace: Extreme.Statistics.Random
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Protected Overrides Function Sample As Double
C#
protected override double Sample ()
C++
protected:
virtual double Sample () override

Return Value

A double-precision floating point number greater than or equal to zero, and less than 1.