SobolSequenceGenerator.Generate Method

Generates a Sobol quasi-random sequence.

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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

ArgumentOutOfRangeException

skip 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