Math & Utilities Functions
Interpolation, unit conversion and general-purpose numeric helpers.
17 functions
PO.Spline.Cubic.Interp(x_values, y_values, t)
Calculates interpolated value using natural cubic spline interpolation.
PO.Spline.Cubic.Diff(x_values, y_values, t)
Calculates first derivative using natural cubic spline interpolation.
PO.Spline.Cubic.Integ(x_values, y_values, t)
Calculates definite integral using natural cubic spline interpolation from the start up to point t.
PO.Spline.Cubic.IntegT1T2(x_values, y_values, t1, t2)
Calculates definite integral using natural cubic spline interpolation from point t1 to point t2.
PO.Spline.Cubic.Intersect(x_values_1, y_values_1, x_values_2, y_values_2, [occurrence])
Calculates x value of intersection point between two cubic splines. When they cross more than once, occurrence picks which crossing (1 or omitted: the first, -1: the last).
PO.Spline.Cubic.Intersect.All(x_values_1, y_values_1, x_values_2, y_values_2)
Calculates the x values of every intersection point between two cubic splines, in x order, as a column.
PO.Spline.Linear.Interp(x_values, y_values, t)
Calculates interpolated value using linear spline interpolation. Outside the x range it extends the first or last segment.
PO.Spline.Linear.Diff(x_values, y_values, t)
Calculates first derivative using linear spline interpolation.
PO.Spline.Linear.Integ(x_values, y_values, t)
Calculates definite integral using linear spline interpolation from the start up to point t.
PO.Spline.Linear.IntegT1T2(x_values, y_values, t1, t2)
Calculates definite integral using linear spline interpolation from point t1 to point t2.
PO.Spline.Linear.Intersect(x_values_1, y_values_1, x_values_2, y_values_2, [occurrence])
Calculates x value of intersection point between two linear splines. When they cross more than once, occurrence picks which crossing (1 or omitted: the first, -1: the last).
PO.Spline.Linear.Intersect.All(x_values_1, y_values_1, x_values_2, y_values_2)
Calculates the x values of every intersection point between two linear splines, in x order, as a column.
PO.Spline.Step.Interp(x_values, y_values, t)
Calculates interpolated value using step interpolation.
PO.Spline.Proximal.Interp(x_values, y_values, t)
Calculates interpolated value using proximal interpolation.
PO.UnitConverter(value, unit_from, unit_to)
Converts value from one unit to another.
PO.Math.Ei(x)
Calculates the exponential integral function Ei(x).
PO.Math.DataDiff(x_values, y_values, t, l)
Calculates derivative for data samples at point t with smoothing.