Deletes a random stream.

Syntax

status = vslDeleteStream( &stream );

Include Files

  • mkl.h

Input/Output Parameters

Name

Type

Description

stream

VSLStreamStatePtr*

Stream state descriptor. Must have non-zero value. After the stream is successfully deleted, the pointer is set to NULL.

Description

The function deletes the random stream created by one of the initialization functions.

Return Values

VSL_ERROR_OK, VSL_STATUS_OK

Indicates no error, execution is successful.

VSL_ERROR_NULL_PTR

stream parameter is a NULL pointer.

VSL_RNG_ERROR_BAD_STREAM

stream is not a valid random stream.

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.
Seleccione el color del botón adhesivo: 
Orange (only for download buttons)