cagpjax.solvers.cholesky
Linear solvers based on Cholesky decomposition.
Cholesky
Bases: AbstractLinearSolverMethod
Solve a linear system using the Cholesky decomposition.
Due to numerical imprecision, Cholesky factorization may fail even for
positive-definite \(A\). Optionally, a small amount of jitter
(\(\epsilon\)) can
be added to \(A\) to ensure positive-definiteness. Note that the resulting system
solved is slightly different from the original system.
Attributes:
Name | Type | Description |
---|---|---|
jitter |
ScalarFloat | None
|
Small amount of jitter to add to \(A\) to ensure positive-definiteness. |
Source code in src/cagpjax/solvers/cholesky.py
CholeskySolver
Bases: AbstractLinearSolver
Solve a linear system by computing the Cholesky decomposition.