Function pcms_interpolate

Function Documentation

void pcms_interpolate(PcmsInterpolatorHandle interpolator, void *input, int input_size, void *output, int output_size)

Perform interpolation.

Uses the given interpolator to perform interpolation using the input data and writes the results to the output data array.

See also

pcms_create_interpolator, pcms_create_point_based_interpolator, mls_interpolation, InterpolationBase

Parameters:
  • interpolator – Handle to the created interpolator

  • input – Void pointer to the first element of the input data array of type double and size of input_size

  • input_size – Size of the input data array which is the same as the number of source points/elements

  • output – Void pointer to the first element of the output data array of type double and size of output_size

  • output_size – Size of the output data array which is the same as the number of target points/elements