Quasi Random.Van Der Corput Sequence Method
Gets a Van Der Corput sequence for the specified prime bases.
Definition
Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
An enumerator for the Van Der Corput sequence with basis basis.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static IEnumerable<double> VanDerCorputSequence(
int length,
int basis
)
Parameters
Return Value
IEnumerable<Double>An enumerator for the Van Der Corput sequence with basis basis.
Exceptions
Argument | length is less than zero. |
Argument | basis is not a prime number. |