Class matrix_invert_det_LU (o2scl_linalg)¶
-
template<class mat_t = boost::numeric::ublas::matrix<double>, class mat_col_t = boost::numeric::ublas::matrix_column<boost::numeric::ublas::matrix<double>>>
class matrix_invert_det_LU : public o2scl_linalg::matrix_invert_det<boost::numeric::ublas::matrix<double>>¶ Generic inverse using LU decomposition.
Public Functions
-
inline virtual int invert_dest(size_t n, mat_t &A, mat_t &A_inv)¶
Invert matrix
A
, destroyingA
and returning the inverse inA_inv
.
-
inline virtual int invert(size_t n, const mat_t &A, mat_t &A_inv)¶
Invert matrix
A
, returning the inverse inA_inv
.
-
inline virtual double det(size_t n, const mat_t &A)¶
Determine the determinant of the matrix
A
without inverting.
-
inline virtual int invert_det(size_t n, const mat_t &A, mat_t &A_inv, double &A_det)¶
Invert matrix
A
, returning the inverse inA_inv
, and the determinant inA_det
.
-
inline virtual ~matrix_invert_det_LU()¶
-
inline virtual int invert_dest(size_t n, mat_t &A, mat_t &A_inv)¶