Class matrix_invert_det_sympd_arma (o2scl_linalg)¶
-
template<class arma_mat_t = arma::mat>
class matrix_invert_det_sympd_arma : public o2scl_linalg::matrix_invert_det<arma::mat>¶ Armadillo inverse of symmetric positive definite matrix.
This class is only defined if Armadillo support was enabled during installation
Public Functions
-
inline virtual int invert(size_t n, const arma_mat_t &A, arma_mat_t &A_inv)¶
Invert matrix
A
, returning the inverse inA_inv
.
-
inline virtual int invert_det(size_t n, const arma_mat_t &A, arma_mat_t &A_inv, double &A_det)¶
Invert matrix
A
, returning the inverse inA_inv
, and the determinant inA_det
.
-
inline virtual double det(size_t n, const arma_mat_t &A)¶
Determine the determinant of the matrix
A
without inverting.
-
inline virtual int invert_inplace(size_t n, arma_mat_t &A)¶
Inver matrix
A
in place.
-
inline virtual ~matrix_invert_det_sympd_arma()¶
-
inline virtual int invert(size_t n, const arma_mat_t &A, arma_mat_t &A_inv)¶