mkpp
Make piecewise polynomial
Syntax
pp = mkpp(breaks,coefs)
pp = mkpp(breaks,coefs,d)
Description
builds a piecewise polynomial pp
= mkpp(breaks
,coefs
)pp
from its breaks and coefficients. Use ppval
to evaluate the piecewise polynomial at specific points, or unmkpp
to extract details about the piecewise polynomial.
specifies that the piecewise polynomial is vector-valued, such that the value of each of its coefficients is a vector of length pp
= mkpp(breaks
,coefs
,d
)d
.