evaluate#
- rateslib.splines.evaluate(spline, x, m=0)#
Evaluate a single x-axis data point, or a derivative value, on a Spline.
This method automatically calls
ppdnev_single()
,ppdnev_single_dual()
orppdnev_single_dual2()
based on the input form ofx
.This method is AD safe.
- Parameters:
spline (PPSplineF64, PPSplineDual, PPSplineDual2) – The Spline on which to evaluate the data point.
m (int, optional) – The order of derivative to evaluate. If seeking value only use m=0.
- Return type: