Class template Tmatrix
ietl::Tmatrix
Synopsis
template<typename VS>
class Tmatrix {
public:
typedef vectorspace_traits< VS >::scalar_type scalar_type;
typedef vectorspace_traits< VS >::vector_type vector_type;
typedef vectorspace_traits< VS >::magnitude_type magnitude_type;
typedef vectorspace_traits< VS >::size_type size_type;
Tmatrix();
void push_back(magnitude_type, magnitude_type);
void push_back(std::pair< magnitude_type, magnitude_type >);
const std::vector< magnitude_type > & eigenvalues(bool = true) const;
const std::vector< magnitude_type > & errors(bool = true) const;
const std::vector< int > & multiplicities(bool = true) const;
std::vector< magnitude_type > const & diagonal() const;
std::vector< magnitude_type > const & subdiagonal() const;
template<typename Archive> void save(Archive &) const;
template<typename Archive> void load(Archive &);
void compute(bool = false) const;
};
Description
Tmatrix
public
construct/copy/destruct
Tmatrix
public member functions
void push_back(magnitude_type a, magnitude_type b);
void push_back(std::pair< magnitude_type, magnitude_type > a_and_b);
const std::vector< magnitude_type > &
eigenvalues(bool discard_ghosts = true) const;
const std::vector< magnitude_type > & errors(bool discard_ghosts = true) const;
const std::vector< int > & multiplicities(bool discard_ghosts = true) const;
std::vector< magnitude_type > const & diagonal() const;
std::vector< magnitude_type > const & subdiagonal() const;
template<typename Archive> void save(Archive & ar) const;
template<typename Archive> void load(Archive & ar);
Tmatrix
private member functions
void compute(bool do_err = false) const;