bundles / scipy latest / scipy / interpolate / _bsplines / _handle_lhs_derivatives
function
scipy.interpolate._bsplines:_handle_lhs_derivatives
Signature
def _handle_lhs_derivatives ( t , k , xval , ab , kl , ku , deriv_ords , offset = 0 ) Summary
Fill in the entries of the colocation matrix corresponding to known derivatives at xval.
Extended Summary
The colocation matrix is in the banded storage, as prepared by _coloc. No error checking.
Parameters
t: ndarray, shape (nt + k + 1,)knots
k: integerB-spline order
xval: floatThe value at which to evaluate the derivatives at.
ab: ndarray, shape(2*kl + ku + 1, nt), Fortran orderB-spline colocation matrix. This argument is modified in-place.
kl: integerNumber of lower diagonals of ab.
ku: integerNumber of upper diagonals of ab.
deriv_ords: 1D ndarrayOrders of derivatives known at xval
offset: integer, optionalSkip this many rows of the matrix ab.
Aliases
-
scipy.interpolate._bsplines._handle_lhs_derivatives