Namespaces

Types

Type AdditiveLaggedFibonacciRandomSource

Namespace MathNet.Numerics.RandomSources

Parent RandomSource

Methods

Properties

Public instance methods

bool Equals(object obj)

Parameters
return bool
object obj

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

bool IsValidLongLag(int value)

Determines whether the specified value is valid for parameter LongLag.
Parameters
return bool
int value The value to check.

bool IsValidShortLag(int value)

Determines whether the specified value is valid for parameter ShortLag.
Parameters
return bool
int value The value to check.

bool NextBoolean()

Returns a random Boolean value.
Parameters
return bool

void NextBytes(Byte[] buffer)

Parameters
Byte[] buffer

double NextDouble(double maxValue)

Returns a nonnegative floating point random number less than the specified maximum.
Parameters
return double
double maxValue The exclusive upper bound of the random number to be generated. must be greater than or equal to 0.0.

double NextDouble(double minValue, double maxValue)

Returns a floating point random number within the specified range.
Parameters
return double
double minValue The inclusive lower bound of the random number to be generated. The range between and must be less than or equal toMaxValue
double maxValue The exclusive upper bound of the random number to be generated. must be greater than or equal to . The range between and must be less than or equal toMaxValue.

double NextDouble()

Returns a nonnegative floating point random number less than 1.0.
Parameters
return double

int NextInclusiveMaxValue()

Returns a nonnegative random number less than or equal to MaxValue.
Parameters
return int

uint NextUInt()

Returns an unsigned random number.
Parameters
return uint

void Reset()

Resets the AdditiveLaggedFibonacciRandomSource, so that it produces the same pseudo-random number sequence again.

string ToString()

Parameters
return string

Public properties

bool CanReset get;

Gets a value indicating whether the AdditiveLaggedFibonacciRandomSource can be reset, so that it produces the same pseudo-random number sequence again.
return bool

int LongLag get; set;

Gets or sets the long lag of the Lagged Fibonacci pseudo-random number generator.
Call IsValidLongLag to determine whether a value is valid and therefor assignable.
return int

int ShortLag get; set;

Gets or sets the short lag of the Lagged Fibonacci pseudo-random number generator.
Call IsValidShortLag to determine whether a value is valid and therefor assignable.
return int