# GetNumRegBrngs

Obtains the number of currently registered basic generators.

## Syntax

Fortran:

nregbrngs = vslgetnumregbrngs( )

C:

nregbrngs = vslGetNumRegBrngs( void );

## Description

This function obtains the number of currently registered basic generators. Whenever user registers a user-designed basic generator, the number of registered basic generators is incremented. The maximum number of basic generators that can be registered is determined by VSL_MAX_REG_BRNGS parameter.

## Output Parameters

Name | Type | Description
--- | --- | ---
nregbrngs | FORTRAN: INTEGER C: int | Number of basic generators registered at the moment of the function call

Parent topic: Service Routines