Header menu logo FSharp.Stats

RandBasic Type

A basic implementation of a uniform random source using Random that is not thread-safe.

Record fields

Record Field Description

rnd

Full Usage: rnd

Field type: Random
Modifiers: mutable
Field type: Random

Constructors

Constructor Description

RandBasic(n)

Full Usage: RandBasic(n)

Parameters:
    n : int - If n is negative, the random number generator seed is based on system time, if it is zero or positive it will use n as the seed.

Returns: RandBasic

Constructs a random number generator with the specified seed value.

n : int

If n is negative, the random number generator seed is based on system time, if it is zero or positive it will use n as the seed.

Returns: RandBasic

RandBasic()

Full Usage: RandBasic()

Returns: RandBasic

Constructs the default random number generator using a time dependent default seed value.

Returns: RandBasic

Type something to start searching.