QuasiRandom.FaureSequence Method

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static IEnumerable<Vector<double>> FaureSequence(
	int dimension,
	int length
)

Parameters

dimension  Int32
The dimension of the vectors in the sequence.
length  Int32
The length of the sequence.

Return Value

IEnumerable<Vector<Double>>

Remarks

Use the FaureSequence(Int32, Int32) method to enumerate a Fauré sequence. A Fauré sequence is one kind of quasi-random sequence. Quasi-random sequences, also called low discrepancy sequences, are sequences of vectors that progressively cover a multi-dimensional space with points that are uniformly distributed.

The best known algorithm for generating quasi-random sequences is due to the French mathematician Henri Fauré. Fauré sequences are popular in mathematical finance simulations.

The current value is a read-only vector with mutable values.

Exceptions

ArgumentOutOfRangeException

dimension is less than or equal to zero or greater than 40.

-or-

length is less than or equal to zero.

See Also