|
How to perform interpolation on a vector (1D array)
- Make sure you have added "InterpolationLIB.dll" to your project

- Now we are ready to code. First, we need to declare and initialize input array
- Finally, we just call Do method from InterpolationLIB. There are two ways that give the same result.
Call DO method of the interpolation type class

or
Call DO method of Interpolator in which interpolation type can be set programmatically.

- Here's a screen-shot of the program output if we print input and ouput arrays to console

Here is the complete source code of the program.
Back
|