#include <SimpleMatrix.h>
Public Types | |
typedef std::vector< T >::size_type | size_type |
typedef T | value_type |
Public Member Functions | |
size_type | col (size_type index) const |
size_type | cols () const |
double & | operator() (size_type row, size_type col) |
double | operator() (size_type row, size_type col) const |
double | operator[] (size_type index) const |
double & | operator[] (size_type index) |
size_type | row (size_type index) const |
size_type | rows () const |
SimpleMatrix (size_type rows, size_type cols) | |
size_type | size () const |
~SimpleMatrix () | |
Protected Member Functions | |
size_type | index (size_type row, size_type col) const |
Private Attributes | |
std::vector< T > | container |
size_type | height |
size_type | width |
Definition at line 9 of file SimpleMatrix.h.
typedef std::vector<T>::size_type lhef::SimpleMatrix< T >::size_type |
Definition at line 12 of file SimpleMatrix.h.
typedef T lhef::SimpleMatrix< T >::value_type |
Definition at line 11 of file SimpleMatrix.h.
lhef::SimpleMatrix< T >::SimpleMatrix | ( | size_type | rows, |
size_type | cols | ||
) | [inline] |
lhef::SimpleMatrix< T >::~SimpleMatrix | ( | ) | [inline] |
Definition at line 17 of file SimpleMatrix.h.
{}
size_type lhef::SimpleMatrix< T >::col | ( | size_type | index | ) | const [inline] |
Definition at line 34 of file SimpleMatrix.h.
Referenced by lhef::SimpleMatrix< Delta >::index().
size_type lhef::SimpleMatrix< T >::cols | ( | ) | const [inline] |
Definition at line 20 of file SimpleMatrix.h.
{ return width; }
size_type lhef::SimpleMatrix< T >::index | ( | size_type | row, |
size_type | col | ||
) | const [inline, protected] |
Definition at line 37 of file SimpleMatrix.h.
Referenced by lhef::SimpleMatrix< Delta >::operator()(), and lhef::SimpleMatrix< Delta >::operator[]().
double& lhef::SimpleMatrix< T >::operator() | ( | size_type | row, |
size_type | col | ||
) | [inline] |
double lhef::SimpleMatrix< T >::operator() | ( | size_type | row, |
size_type | col | ||
) | const [inline] |
double lhef::SimpleMatrix< T >::operator[] | ( | size_type | index | ) | const [inline] |
Definition at line 30 of file SimpleMatrix.h.
double& lhef::SimpleMatrix< T >::operator[] | ( | size_type | index | ) | [inline] |
Definition at line 28 of file SimpleMatrix.h.
size_type lhef::SimpleMatrix< T >::row | ( | size_type | index | ) | const [inline] |
Definition at line 33 of file SimpleMatrix.h.
size_type lhef::SimpleMatrix< T >::rows | ( | ) | const [inline] |
Definition at line 19 of file SimpleMatrix.h.
{ return height; }
size_type lhef::SimpleMatrix< T >::size | ( | void | ) | const [inline] |
Definition at line 21 of file SimpleMatrix.h.
Referenced by lhef::Matching< Delta >::match().
{ return container.size(); }
std::vector<T> lhef::SimpleMatrix< T >::container [private] |
Definition at line 42 of file SimpleMatrix.h.
Referenced by lhef::SimpleMatrix< Delta >::operator()(), lhef::SimpleMatrix< Delta >::operator[](), and lhef::SimpleMatrix< Delta >::size().
size_type lhef::SimpleMatrix< T >::height [private] |
Definition at line 41 of file SimpleMatrix.h.
Referenced by lhef::SimpleMatrix< Delta >::rows().
size_type lhef::SimpleMatrix< T >::width [private] |
Definition at line 41 of file SimpleMatrix.h.
Referenced by lhef::SimpleMatrix< Delta >::col(), lhef::SimpleMatrix< Delta >::cols(), lhef::SimpleMatrix< Delta >::index(), and lhef::SimpleMatrix< Delta >::row().