30 #ifndef EXOTICA_AICO_SOLVER_MATH_OPERATIONS_H_ 31 #define EXOTICA_AICO_SOLVER_MATH_OPERATIONS_H_ 33 #include <Eigen/Cholesky> 34 #include <Eigen/Dense> 41 template <
typename T1,
typename T2>
44 Ainv = A.llt().solve(Eigen::MatrixXd::Identity(A.rows(), A.cols()));
48 template <
typename T1,
typename T2,
typename T3>
55 #endif // EXOTICA_AICO_SOLVER_MATH_OPERATIONS_H_ static void AinvBSymPosDef(T1 &x, const T2 &A, const T3 &b)
Computes the solution to the linear problem for symmetric positive definite matrix A...
static void inverseSymPosDef(T1 &Ainv, const T2 &A)
Computes an inverse of a symmetric positive definite matrix.