naginterfaces.library.info.licence

naginterfaces.library.info.licence()[source]

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

https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/a00/a00acf.html

Returns
licbool

if a licence is available.

Notes

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

On non licence-managed implementations, is always returned.