The class that represents a single row of the matrix. More...
#include <chomp/struct/flatmatr.h>
Public Member Functions | |
row (int _offset, element *_v) | |
The constructor of a row of the matrix. | |
element & | operator[] (int j) |
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. | |
element * | v |
A reference to the vector that stores all the entries of the matrix. |
The class that represents a single row of the matrix.
Definition at line 89 of file flatmatr.h.
chomp::homology::flatMatrix< element >::row::row | ( | int | _offset, |
element * | _v | ||
) | [inline] |
The constructor of a row of the matrix.
Definition at line 93 of file flatmatr.h.
element& chomp::homology::flatMatrix< element >::row::operator[] | ( | int | j ) | [inline] |
Returns a reference to the element at the given position.
Definition at line 97 of file flatmatr.h.
References chomp::homology::flatMatrix< element >::row::offset, and chomp::homology::flatMatrix< element >::row::v.
int chomp::homology::flatMatrix< element >::row::offset [protected] |
The offset in the vector of all the entries of the matrix.
Definition at line 102 of file flatmatr.h.
Referenced by chomp::homology::flatMatrix< element >::row::operator[]().
element* chomp::homology::flatMatrix< element >::row::v [protected] |
A reference to the vector that stores all the entries of the matrix.
Definition at line 106 of file flatmatr.h.
Referenced by chomp::homology::flatMatrix< element >::row::operator[]().