cholesky_solve¶
-
pydl.pydlutils.bspline.
cholesky_solve
(a, bb)[source]¶ Solve the equation \(A x = b\) where
a
is a lower Cholesky-banded matrix.In the
bspline
machinery,a
needs to be padded. This function should only used with the output ofcholesky_band()
, to ensure the proper padding ona
. Otherwise the computation is delegated toscipy.linalg.cho_solve_banded()
.Parameters: - a :
numpy.ndarray
Lower Cholesky decomposition of \(A\) in \(A x = b\).
- bb :
numpy.ndarray
\(b\) in \(A x = b\).
Returns: - :class:`numpy.ndarray`
The solution, padded to be the same shape as
bb
.
- a :