Service Subroutines

NewStream creates and initializes a random stream.
Fortran:
call vslnewstream (stream, brng, seed)
C:
vslNewStream (stream, brng, seed);

NewStreamEx creates and initializes a random stream for generators with multiple initial conditions.
Fortran:
call vslnewstreamex (stream, brng, n, params)
C:
vslNewStreamEx (stream, brng, n, params);

DeleteStream deletes a random stream.
Fortran:
call vsldeletestream (stream)
C:
vslDeleteStream (stream);

CopyStream creates a copy of a random stream.
Fortran:
call vslcopystream (newstream, srcstream)
C:
vslCopyStream (newstream, srcstream);

CopyStreamState creates a copy of a random stream state.
Fortran:
call vslcopystreamstate (deststream, srcstream)
C:
vslCopyStreamState (deststream, srcstream);

LeapfrogStream initializes stream of k-th computational node in nstreams-node cluster using the leapfrog method.
Fortran:
call vslleapfrogstream (stream, k, nstreams)
C:
vslLeapfrogStream (stream, k, nstreamsm);

SkipAheadStream initializes a stream using the block-splitting method.
Fortran:
call vslskipaheadstream (stream, nskip)
C:
vslSkipAheadStream (stream, nskip);

GetStreamStateBrng returns index of a basic generator used for generation of a given random stream.
Fortran:
brng = vslgetstreamstatebrng (stream)
C:
brng = vslGetStreamStateBrng (stream);

GetNumRegBrng obtains the number of currently registered basic generators.
Fortran:
nregbrng = vslgetnumregbrng ( )
C:
nregbrng = vslGetNumRegBrng (void);

* Legal Information © 1999, 2002-2004, Intel Corporation