Developer Reference for Intel® oneAPI Math Kernel Library for Fortran
A newer version of this document is available. Customers should click here to go to the newest version.
Data Fitting Usage Model
Consider an algorithm that uses the Data Fitting functions. Typically, such algorithms consist of four steps or stages:
Create a task. You can call the Data Fitting function several times to create multiple tasks.
status = dfdnewtask1d( task, nx, x, xhint, ny, y, yhint );
Modify the task parameters.
status = dfdeditppspline1d( task, s_order, c_type, bc_type, bc, ic_type, ic, scoeff, scoeffhint );
Perform Data Fitting spline-based computations. You may reiterate steps 2-3 as needed.
status = dfdinterpolate1d(task, estimate, method, nsite, site, sitehint, ndorder, dorder, datahint, r, rhint, cell );
Destroy the task or tasks.
status = dfdeletetask( task );