Typical workflow - Typical workflow - 5.3 English - 68552

AOCL API Guide (68552)

Document_ID
68552
Release_Date
2026-05-13
Version
5.3 English

The standard way of using cubic spline interpolation in AOCL-DA is as follows.

Python interface not yet available.

  1. Initialize a da_handle with da_handle_type da_handle_interpolation.

  2. Select the interpolation model using da_interpolation_select_model_?.

  3. Define the interpolation sites using either da_interpolation_set_sites_? (for custom x-coordinates) or da_interpolation_set_sites_uniform_? (for uniformly spaced points).

  4. Set the function values (and optionally first derivatives for Hermite splines) using da_interpolation_set_values_?.

  5. Set the spline type and other options using da_options_set_? (see below).

  6. Optionally set custom boundary conditions using da_interpolation_set_boundary_conditions_? (required when “cubic spline type” is set to “custom”).

  7. Compute the spline coefficients using da_interpolation_interpolate_?.

  8. Evaluate the spline at query points using da_interpolation_evaluate_?.

  9. Extract results using da_handle_get_result_?.