Module apsis::interpolation[][src]

General interpolation functions

Functions

five_value_interpolation

Performs simple interpolation for five given values.

five_value_zero

Finds where, relative to three equally spaced points, the function is equal to zero.

five_value_zero_curved

This function is similar to five_value_zero, but is better at taking curvature into account.

four_value_center

Given four equally-spaced points, this function efficiently calculates the value exactly in the middle between the second and third points.

lagrance_interpolation

Lagrance’s interpolation formula

three_value_extremum

If the function whose values are given reaches an extremum, this returns the x and y values for that extreme point.

three_value_interpolation

Performs simple interpolation for three given values. This function works best when n is close to 0.

three_value_zero

Finds where, relative to three equally spaced points, the function is equal to zero.

three_value_zero_curved

This function is similar to three_value_zero, but is better at taking curvature into account.