Origin 2017 NAG Changes
Origin has included all functions from NAG MARK C LIBRARY since Origin 8 was released. These functions can be easily accessed from your Origin C function. In Origin 2017, the NAG library has been updated to the latest version Mark 25.
Linked Jira: ORG-13393
The details of each function can be referred to Origin C Guide: NAG C Library.
Summary | Details |
---|---|
The header file <oc_nag8.h> has been replaced by <OC_nag.h>, and the header file <oc_nag_ex.h> have been withdrawn. | For example: #include <OC_nag8.h> #include <nag\OC_nag_ex.h> has to be changed into: #include <OC_nag.h> //#include <nag\OC_nag_ex.h>//not need, only oc_nag.h required. |
Some NAG functions have been withdrawn and replaced by other functions. See the full list in the file below | If there is an error as below after compiling, it might be caused by the NAG function that have been withdrawn since the new release NAG C Library. Error, function or variable ***** not found. Referring to the following table Withdrawn Functions, the replacement function can be found and used instead. For example:
|
Some NAG functions have been withdrawn without replacement. See the full list in the file below | If there is no replacement required of the withdrawn function, it can be removed from the code file. For example:
|
Some NAG functions have been added. See the full list in the file below | There are 551 new user-callable functions included in the NAG C Library of Origin 2017, which can be referred to the table New Functions as follow. Generally speaking, the function is new to NAG library in Origin 2017, if its mark of introduction is 23, 24 or 25. |