TMB Documentation
v1.9.11
|
Methods specific for a sparse plus low rank hessian. More...
#include <newton.hpp>
Public Member Functions | |
matrix< TMBad::Scalar > | llt_solve (const sparse_plus_lowrank< TMBad::Scalar > &h, const matrix< TMBad::Scalar > &x) |
Methods specific for a sparse plus low rank hessian.
Represents a positive definite matrix of the form
H + G * H0 * G^T
where
To detect this structure one must use the Tag()
function to select k intermediate variables which will be used to decompose the computational graph.
The following formulas are applied internally to perform the solve (Woodbury matrix identity) and determinant (Matrix determinant lemma).
However, we use the substitution H0M := H0 * M
for numerical robustness. These formulas are valid even when H0 = 0
:
Definition at line 457 of file newton.hpp.
|
inline |
llt_factorize
has been performed for the same H Definition at line 562 of file newton.hpp.