licence provides a convenient means of checking the availability of a valid licence key on licence-managed implementations before starting computations that will use NAG Library functions. In particular, the use of this function is highly recommended in programs that call NAG Library functions within multithreaded sections (e.g., OpenMP parallel regions). The function need only be called once, before the start of the first multithreaded section.

For full information please refer to the NAG Library document for a00ac


if a licence is available.


licence returns the logical value if a valid licence is found, otherwise is returned.

On non licence-managed implementations, is always returned.