The Original CHomP Software
|
The class that represents a constant single row of the matrix. More...
#include <flatmatr.h>
Public Member Functions | |
const_row (int _offset, const element *_v) | |
The constructor of a constant row of the matrix. More... | |
const element & | operator[] (int m) |
Returns a reference to the element at the given position. More... | |
Protected Attributes | |
int | offset |
The offset in the vector of all the entries of the matrix. More... | |
const element * | v |
A reference to the vector that stores all the entries of the matrix. More... | |
The class that represents a constant single row of the matrix.
Definition at line 113 of file flatmatr.h.
|
inline |
The constructor of a constant row of the matrix.
Definition at line 117 of file flatmatr.h.
|
inline |
Returns a reference to the element at the given position.
Definition at line 121 of file flatmatr.h.
References chomp::homology::flatMatrix< element >::const_row::offset, and chomp::homology::flatMatrix< element >::const_row::v.
|
protected |
The offset in the vector of all the entries of the matrix.
Definition at line 126 of file flatmatr.h.
Referenced by chomp::homology::flatMatrix< element >::const_row::operator[]().
|
protected |
A reference to the vector that stores all the entries of the matrix.
Definition at line 130 of file flatmatr.h.
Referenced by chomp::homology::flatMatrix< element >::const_row::operator[]().