Returns index of a basic generator used for generation of a given random stream.
FORTRAN:
brng = vslgetstreamstatebrng( stream )
C:
brng = vslGetStreamStateBrng( stream );
Name |
Type |
Description |
---|---|---|
stream |
FORTRAN 77: INTEGER*4 stream(2) Fortran 90: TYPE(VSL_STREAM_STATE), TINTENT(IN) C: const VSLStreamStatePtr |
Fortran: Descriptor of the stream state C: Pointer to the stream state structure |
Name |
Type |
Description |
---|---|---|
brng |
Fortran: INTEGER C: int |
Index of the basic generator assigned for the generation of stream ; negative in case of an error |
The vslGetStreamStateBrng function retrieves the index of a basic generator used for generation of a given random stream.