Module math

Source

Functions§

linear_weight
Calculates the interpolation weight between x1 and x2 for a value x.
linear_weighting
pos_search
quad_polynomial
Evaluates the quadratic Lagrange polynomial defined by three points.
quadratic_interpolation
Performs quadratic interpolation for the point x given vectors of abscissas xs and ordinates ys.