|
Public Types |
typedef std::pair< size_t,
size_t > | index_pair |
typedef std::vector< C
>::iterator | iterator |
typedef std::vector< C
>::const_iterator | const_iterator |
Public Member Functions |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
| Matrix () |
| Matrix (size_t m, size_t n) |
| Matrix (size_t m, size_t n, const C &c) |
| Matrix (size_t n) |
| Matrix (const std::vector< std::vector< C > > &) |
| Matrix (const Matrix< C > &, const std::vector< std::vector< C > > &) |
| Matrix (const Matrix< C > &, size_t, size_t, size_t, size_t) |
template<typename I> |
| Matrix (const Matrix< C > &, const I &, const I &) |
template<typename I> |
| Matrix (const I &, const I &, tags::IteratorTag) |
virtual | ~Matrix () |
const C & | operator() (size_t i, size_t j) const |
bool | operator== (const Matrix< C > &) const |
index_pair | absMinPos (size_t i_min=0, size_t j_min=0) const |
void | apply (std::vector< C > &, const std::vector< C > &) const |
template<typename I, typename O> |
void | apply (const I &, const I &, O) const |
void | column (std::vector< C > &, size_t) const |
size_t | columnSize () const |
bool | divisible (C) const |
bool | isEmpty () const |
bool | isZero (size_t i_min=0, size_t j_min=0) const |
size_t | numRows () const |
size_t | numColumns () const |
void | row (std::vector< C > &, size_t) const |
size_t | rowSize () const |
C & | operator() (size_t i, size_t j) |
Matrix< C > & | operator+= (const Matrix< C > &) |
Matrix< C > & | operator-= (const Matrix< C > &) |
Matrix< C > & | operator *= (const Matrix< C > &) |
Matrix< C > & | operator/= (const C &c) |
void | changeColumnSign (size_t) |
void | changeRowSign (size_t) |
void | columnOperation (size_t, size_t, const C &) |
void | copy (const Matrix< C > &, size_t r=0, size_t c=0) |
void | copyColumn (const Matrix< C > &, size_t, size_t) |
void | copyRow (const Matrix< C > &, size_t, size_t) |
void | eraseColumn (size_t) |
void | eraseRow (size_t) |
void | invert () |
void | invert (C &d) |
void | permute (const setutils::Permutation &a) |
void | negate () |
void | reset () |
void | resize (size_t, size_t) |
void | resize (size_t, size_t, const C &) |
void | rowOperation (size_t, size_t, const C &) |
void | swap (Matrix &) |
void | swapColumns (size_t, size_t) |
void | swapRows (size_t, size_t) |
void | transpose () |
Private Attributes |
std::vector< C > | d_data |
size_t | d_rows |
size_t | d_columns |