ostk.mathematics.curve_fitting.Interpolator

class Interpolator(
self: ostk.mathematics.curve_fitting.Interpolator,
interpolation_type: ostk.mathematics.curve_fitting.Interpolator.Type,
)

Bases: pybind11_object

Methods

evaluate

Overloaded function.

generate_interpolator

get_interpolation_type

class Type(self: ostk.mathematics.curve_fitting.Interpolator.Type, value: int)

Bases: pybind11_object

Members:

BarycentricRational

CubicSpline

Linear

property name
evaluate(*args, **kwargs)

Overloaded function.

  1. evaluate(self: ostk.mathematics.curve_fitting.Interpolator, x: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]

  2. evaluate(self: ostk.mathematics.curve_fitting.Interpolator, x: float) -> float

static generate_interpolator(
interpolation_type: ostk.mathematics.curve_fitting.Interpolator.Type,
x: numpy.ndarray[numpy.float64[m, 1]],
y: numpy.ndarray[numpy.float64[m, 1]],
) ostk.mathematics.curve_fitting.Interpolator
get_interpolation_type(
self: ostk.mathematics.curve_fitting.Interpolator,
) ostk.mathematics.curve_fitting.Interpolator.Type