PPSplineDual2#
- class rateslib.splines.PPSplineDual2(k, t, c)#
Piecewise polynomial spline composed of float-64 values on the x-axis and
Dual2
values on the y-axis.- Parameters:
k (int) – The order of the spline.
t (sequence of float) – The knot sequence of the spline.
c (sequence of Dual or None) – The coefficients of the spline, optional.
Attributes
- Variables:
c – sequence of Dual2
k – int
n – int
t – sequence of float
See also
PPSplineF64
: Spline where the y-axis contains float-64 data types.PPSplineDual
: Spline where the y-axis containsDual
data types.Notes
For all associated methods review
PPSplineF64
.