Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
7032 Discussions

interpolation, integration, function inverse

finjulhich
Beginner
266 Views

Hi,

I have a number of data point (xi,yi) and would like to :

1. plain linear interpolate for some point x inside the range
2. integrate the function that interpolates linearilty over some range
3. assuming a monotone linear interpolation function and monotone data points, to get the inverse of a point y.

Are there functions in the math kernel for this?

rds,

0 Kudos
1 Reply
Tabrez_Ali
Beginner
266 Views
1 seems like a curve fit for which you can always use least squares (MKL Lapack gelss) once your matrices are set. Though it's a little more work than you seem to want.

With the function known from 1, 2 is trivial to code. See any entry level numerical methods book.

If you want Fortran 77/90 specific examples then have a look at Numerical Methods for Engineers and Scientists by Joe D Hoffman.
0 Kudos
Reply