Computes size of memory necessary to hold the random stream.
FORTRAN:
memsize = vslgetstreamsize( stream )
C:
memsize = vslGetStreamSize( stream );
Name |
Type |
Description |
---|---|---|
stream |
FORTRAN 77: INTEGER*4 stream(2) Fortran 90: TYPE(VSL_STREAM_STATE), INTENT(IN) C: const VSLStreamStatePtr |
Random stream |
Name |
Type |
Description |
---|---|---|
memsize |
Fortran: INTEGER C: int |
Amount of memory in bytes necessary to hold descriptive data of random stream stream |
The vslGetStreamSize function returns the size of memory in bytes which is necessary to hold the given random stream. Use the output of the function to allocate the buffer to which you will save the random stream by means of the vslSaveStreamM function.