#include "types.hpp"
#include "boost/numeric/ublas/vector.hpp"
#include "boost/numeric/ublas/vector_proxy.hpp"
#include "boost/numeric/ublas/matrix.hpp"
#include "boost/numeric/ublas/matrix_proxy.hpp"
#include "boost/numeric/ublas/triangular.hpp"
#include "boost/numeric/ublas/operation.hpp"
#include <boost/numeric/ublas/lu.hpp>
Go to the source code of this file.
Typedefs | |
typedef boost::numeric::ublas::identity_matrix < double > | identity_mat |
typedef boost::numeric::ublas::matrix < double > | mat |
Functions | |
template<class M > | |
double | lu_det (M const &m) |
template<class M1 , class M2 > | |
void | lu_inv (M1 const &m, M2 &inv) |
typedef boost::numeric::ublas::identity_matrix<double> identity_mat |
Definition at line 21 of file linAlgTools.hpp.
typedef boost::numeric::ublas::matrix<double> mat |
Definition at line 20 of file linAlgTools.hpp.
double lu_det | ( | M const & | m | ) |
General matrix determinant. It uses lu_factorize in uBLAS.
Definition at line 56 of file linAlgTools.hpp.
void lu_inv | ( | M1 const & | m, |
M2 & | inv | ||
) |
General matrix inversion routine. It uses lu_factorize and lu_substitute in uBLAS to invert a matrix
Definition at line 29 of file linAlgTools.hpp.