ppCoefficientsFromSplineCoefficients

Returns the piecewise polynomial coefficients in matrix C from spline coefficients in vector m.


Declaration

 ppCoefficientsFromSplineCoefficients( m, tKnot, K, B )

Parameters

  • m spline coefficients
  • tKnot spline knot points
  • K spline order (degree S=K-1)
  • Xtpp (optional) splines at the points tpp

Returns

  • C polynomial coefficients to be used in polyval, size(C) = [length(t_pp)-1, K]
  • tpp piece-wise polynomial intervals, size(tpp) = length(tKnot) - 2*K + 1
  • Xtpp splines at the points tpp

Discussion