Creates a copy of a random stream.
FORTRAN:
status = vslcopystream( newstream, srcstream )
C:
status = vslCopyStream( &newstream, srcstream );
Name |
Type |
Description |
---|---|---|
srcstream |
FORTRAN 77: INTEGER*4 srcstream(2) Fortran 90: TYPE(VSL_STREAM_STATE), INTENT(IN) C: const VSLStreamStatePtr |
Fortran: Descriptor of the stream to be copied C: Pointer to the stream state structure to be copied |
Name |
Type |
Description |
---|---|---|
newstream |
FORTRAN 77: INTEGER*4 newstream(2) Fortran 90: TYPE(VSL_STREAM_STATE), INTENT(OUT) C: VSLStreamStatePtr* |
Copied random stream descriptor |
The function creates an exact copy of srcstream and stores its descriptor to newstream.