The standard way of using cubic spline interpolation in AOCL-DA is as follows.
Python interface not yet available.
Initialize a
da_handlewithda_handle_typeda_handle_interpolation.Select the interpolation model using da_interpolation_select_model_?.
Define the interpolation sites using either da_interpolation_set_sites_? (for custom x-coordinates) or da_interpolation_set_sites_uniform_? (for uniformly spaced points).
Set the function values (and optionally first derivatives for Hermite splines) using da_interpolation_set_values_?.
Set the spline type and other options using da_options_set_? (see below).
Optionally set custom boundary conditions using da_interpolation_set_boundary_conditions_? (required when “cubic spline type” is set to “custom”).
Compute the spline coefficients using da_interpolation_interpolate_?.
Evaluate the spline at query points using da_interpolation_evaluate_?.
Extract results using da_handle_get_result_?.