triangular matrix template More...
#include <tri_matrix.hh>
Public Member Functions | |
| TriMatrix (int n, const T &def_val=T()) | |
| void | Set (int i, int j, const T &sim) |
| const T & | Get (int i, int j) const |
| T & | operator() (int i, int j) |
| const T & | operator() (int i, int j) const |
| int | GetSize () const |
| std::vector< T > & | Data () |
triangular matrix template
Definition at line 13 of file tri_matrix.hh.
| TriMatrix | ( | int | n, | |
| const T & | def_val = T() | |||
| ) | [inline] |
Definition at line 15 of file tri_matrix.hh.
| std::vector<T>& Data | ( | ) | [inline] |
Definition at line 43 of file tri_matrix.hh.
| const T& Get | ( | int | i, | |
| int | j | |||
| ) | const [inline] |
Definition at line 24 of file tri_matrix.hh.
| int GetSize | ( | ) | const [inline] |
Definition at line 39 of file tri_matrix.hh.
| const T& operator() | ( | int | i, | |
| int | j | |||
| ) | const [inline] |
Definition at line 34 of file tri_matrix.hh.
| T& operator() | ( | int | i, | |
| int | j | |||
| ) | [inline] |
Definition at line 29 of file tri_matrix.hh.
| void Set | ( | int | i, | |
| int | j, | |||
| const T & | sim | |||
| ) | [inline] |
Definition at line 19 of file tri_matrix.hh.
1.6.1