2.1.17.5 Interpolation

Functions

Name Brief Example
Data_table Table lookup with interpolation. Examples
ocmath_1d_spline_deriv Evaluates a cubic spline and its first three derivatives from its B-spline representation. Examples
ocmath_1d_spline_evaluate Evaluates a cubic spline from its B-spline representation. Examples
ocmath_1d_spline_fit Computes a cubic spline approximation to an arbitrary set of data points. Least-squares cubic spline curve fit, automatic knot placement, one variable. Examples
ocmath_2d_interpolate This function interpolates or extrpolates an input matrix to find Z values at given X and Y coordinates. Examples
ocmath_2d_spline_eval Calculates values of a bicubic spline from its B-spline representation. Examples
ocmath_2d_spline_grid This function computes a bicubic spline approximation to a set of data values, given on an equi-spaced rectangular grid in the x-y plane. The smoothness of fit can be controlled. Examples
ocmath_2d_spline_interpolant Computes a bicubic spline interpolating surface through a set of data values, given on a rectangular grid in the x-y plane. Examples
ocmath_3d_interpolate Interpolation. Three modes are available: Linear, Spline, B-Spline cf. Dierckx P: an algorithm for smoothing, differentiation and integration of experimental data using spline functions, J.Comp.Appl.Maths 1 (1975) 165-184. Examples
ocmath_free Free memory allocated by ocmath functions(calling NAG_FREE). Examples
ocmath_free_2dSpline_struct Free all pointer type elements of struct ocmath_2dSpline by ocmath functions(calling NAG_FREE). Examples
ocmath_free_comm_struct Free all pointer type elements of struct ocmath_Comm by ocmath functions(calling NAG_FREE). Examples
ocmath_free_spline_struct Free Free all pointer type elements of struct ocmath_Spline by ocmath functions(calling NAG_FREE). Examples
ocmath_image_lines_profile Computes the intensity along a straight line or a polyline in an image. Examples
ocmath_interpolate Do interpolation with mode of Linear, Spline or B-Spline. Examples
ocmath_parametric_interpolate_eval Get interpolated data using parametric interpolation. For every dimension of pData call the function ocmath_interpolate to interpolate. Examples
ocmath_parametric_interpolate_range Compute parameter data of parametric interpolate cf. E.T.Y. Lee, Choosing nodes in parametric curve interpolation, Computer-Aided Design 21 (1989), 363-370. Examples