Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Origin has included all functions from NAG MARK C LIBRARY since Origin 8 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 - Getting issue details... STATUS

SummaryDetails
The header file <oc_nag8.h> is replaced by <OC_nag.h>, and the header file <oc_nag_ex.h> is withdrawn.

For example:

#include <OC_nag8.h>
#include <nag\OC_nag_ex.h>

need 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.

For example:

  • e01sac has been replaced by e01sjc.

    Origin C: Example: Interpolation and Gridding: XYZ Gridding by Renka Cline Method
    e01sac(method, nSize, vx, vy, vz, &comm, &optional, &fail);

    need to be changed into:

    Origin C: Example: Interpolation and Gridding: XYZ Gridding by Renka Cline Method
    e01sjc(nSize, vx, vy, vz, triang, grads, &f
  • e01sbc has been replaced by e01skc.

    Origin C: Example: Interpolation and Gridding: XYZ Gridding by Renka Cline Method
    e01sbc(&comm, nRows*nCols, vxGrid, vyGrid, mat, &fail);

    need to be changed into:

    Origin C: Example: Interpolation and Gridding: XYZ Gridding by Renka Cline Method
    for(int ii=0; ii < nRows; ii++)
    {
    	for(int jj=0; jj < nCols; jj++)
    	{
    		e01skc(nSize,vx, vy, vz, triang, grads, vxGrid[jj], vyGrid[ii], &mat[jj][ii], &fail);
        }
    }
  • d01ajc has been replaced by d01sjc.

    Origin C: Example: Quadrature Integral: Simple Integral Function
    d01ajc(func, a, b, epsabs, epsrel, max_num_subint, &result, &abserr, &qp, &fail);

    need to be changed into:

    Origin C: Example: Quadrature Integral: Simple Integral Function
    d01sjc(f_callback_ex, a, b, epsabs, epsrel, max_num_subint,&result, &abserr, &qp, &comm, &fail);
  
  • No labels