cholesky_solve¶
-
pydl.pydlutils.bspline.cholesky_solve(a, bb)[source]¶ Solve the equation \(A x = b\) where
ais a lower Cholesky-banded matrix.In the
bsplinemachinery,aneeds 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.ndarrayLower Cholesky decomposition of \(A\) in \(A x = b\).
bb :
numpy.ndarray\(b\) in \(A x = b\).
Returns: numpy.ndarrayThe solution, padded to be the same shape as
bb.