#include <chomp/struct/flatmatr.h>
Public Member Functions | |
const_row (int _offset, const std::vector< element > &_v) | |
The constructor of a constant row of the matrix. | |
const element & | operator[] (int m) |
Returns a reference to the element at the given position. | |
Protected Attributes | |
int | offset |
The offset in the vector of all the entries of the matrix. | |
const std::vector < element > & | v |
A reference to the vector that stores all the entries of the matrix. |
Definition at line 93 of file flatmatr.h.
chomp::homology::flatMatrix< element >::const_row::const_row | ( | int | _offset, | |
const std::vector< element > & | _v | |||
) | [inline] |
const element& chomp::homology::flatMatrix< element >::const_row::operator[] | ( | int | m | ) | [inline] |
Returns a reference to the element at the given position.
Definition at line 101 of file flatmatr.h.
References chomp::homology::flatMatrix< element >::const_row::offset, and chomp::homology::flatMatrix< element >::const_row::v.
int chomp::homology::flatMatrix< element >::const_row::offset [protected] |
The offset in the vector of all the entries of the matrix.
Definition at line 106 of file flatmatr.h.
Referenced by chomp::homology::flatMatrix< element >::const_row::operator[]().
const std::vector<element>& chomp::homology::flatMatrix< element >::const_row::v [protected] |
A reference to the vector that stores all the entries of the matrix.
Definition at line 110 of file flatmatr.h.
Referenced by chomp::homology::flatMatrix< element >::const_row::operator[]().