Class LeapfrogStream represents a single leapfrog stream.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public class LeapfrogStream : RandomNumberStream
Visual Basic (Declaration)
Public Class LeapfrogStream _
	Inherits RandomNumberStream
Visual C++
public ref class LeapfrogStream : public RandomNumberStream

Remarks

Leapfrogging is a method for generating several independent streams of random numbers in which the independent sequences are created by splitting the original sequence into k disjoint subsets, where k is the number of independent streams, is such a way that the first stream would generate the random numbers x1, xk+1, x2k+1, x3k+1,..., the second stream would generate the numbers x2, xk+2, x2k+2, x3k+2,..., and, finally, the kth stream would generate xk, x2k, x3k... SkipAheadRandomStreams

Inheritance Hierarchy

System..::.Object
  CenterSpace.NMath.Core..::.RandomNumberStream
    CenterSpace.NMath.Core..::.LeapfrogStream

See Also