Registers user-defined basic generator.
The Fortran 90 interfaces are specified in the mkl_vsl.f90 include file, and the C interfaces are specified in the mkl_vsl_functions.h include file.
Name |
Type |
Description |
---|---|---|
properties |
Fortran: TYPE(VSL_BRNG_PROPERTIES), INTENT(IN) C: const VSLBRngProperties* |
Pointer to the structure containing properties of the basic generator to be registered |
FORTRAN 77 support is unavailable for this function.
Name |
Type |
Description |
---|---|---|
brng |
Fortran: INTEGER, INTENT(OUT) C: int |
Number (index) of the registered basic generator; used for identification. Negative values indicate the registration error. |
An example of a registration procedure can be found in the respective directory of the VSL examples.
Indicates no error, execution is successful.
Registration cannot be completed due to lack of free entries in the table of registered BRNGs.
Bad value in StreamStateSize field.
Bad value in WordSize field.
Bad value in NSeeds field.
Bad value in NBits field.
At least one of the fields iBrng, dBrng, sBrng or InitStream is a NULL pointer.
Copyright © 1994 - 2010, Intel Corporation. All rights reserved.