SobolSequenceGenerator.Generate Method

Generates a Sobol quasi-random sequence.

Definition

Namespace: Extreme.Mathematics.Random
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public IEnumerable<Vector<double>> Generate(
	int length,
	int skip = 0
)

Parameters

length  Int32
skip  Int32  (Optional)
The first index of the

Return Value

IEnumerable<Vector<Double>>
A sequence of points in a Sobol quasi-random sequence.

Exceptions

ArgumentOutOfRangeExceptionskip is less than zero.

-or-

length is less than zero.

Thread Safety

This method should not be used in parallel loops. Instead, partition the range and use a new generator on each partition.

See Also