This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / interpolate / _bsplines / _handle_lhs_derivatives

function

scipy.interpolate._bsplines:_handle_lhs_derivatives

source: build-install/usr/lib/python3.14/site-packages/scipy/interpolate/_bsplines.py:1757

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

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

Number of lower diagonals of ab.

ku : int

Number of upper diagonals of ab.

deriv_ords : 1D ndarray

Orders of derivatives known at xval

offset : int, optional

Skip this many rows of the matrix ab.

Aliases

  • scipy.interpolate._bsplines._handle_lhs_derivatives