{ } Raw JSON

bundles / scipy 1.17.1 / scipy / interpolate / _bsplines / _handle_lhs_derivatives

function

scipy.interpolate._bsplines:_handle_lhs_derivatives

source: /scipy/interpolate/_bsplines.py :1278

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 : integer

B-spline order

xval : float

The value at which to evaluate the derivatives at.

ab : ndarray, shape(2*kl + ku + 1, nt), Fortran order

B-spline colocation matrix. This argument is modified in-place.

kl : integer

Number of lower diagonals of ab.

ku : integer

Number of upper diagonals of ab.

deriv_ords : 1D ndarray

Orders of derivatives known at xval

offset : integer, optional

Skip this many rows of the matrix ab.

Aliases

  • scipy.interpolate._bsplines._handle_lhs_derivatives