This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / interpolate / _bsplines / _compute_b_inv

function

scipy.interpolate._bsplines:_compute_b_inv

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

Signature

def _compute_b_inv(A)

Summary

Inverse 3 central bands of matrix assuming that U is a unit upper triangular banded matrix using an algorithm proposed in [1].

Parameters

A : array, shape (4, n)

Matrix to inverse, stored in LAPACK banded storage.

Returns

B : array, shape (4, n)

3 unique bands of the symmetric matrix that is an inverse to A. The first row is filled with zeros.

Notes

The algorithm is based on the cholesky decomposition and, therefore, in case matrix A is close to not positive defined, the function raises LinalgError.

Both matrices A and B are stored in LAPACK banded storage.

Aliases

  • scipy.interpolate._bsplines._compute_b_inv