Sobol Sequence Generator.Generate Method
Generates a Sobol quasi-random sequence.
Definition
Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
A sequence of points in a Sobol quasi-random sequence.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public IEnumerable<Vector<double>> Generate(
int length,
int skip = 0
)
Parameters
Return Value
IEnumerable<Vector<Double>>A sequence of points in a Sobol quasi-random sequence.
Exceptions
Argument | 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.