chomp::homology::flatMatrix< element >::row Class Reference

The class that represents a single row of the matrix. More...

#include <chomp/struct/flatmatr.h>

List of all members.

Public Member Functions

 row (int _offset, std::vector< 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.
std::vector< element > & v
 A reference to the vector that stores all the entries of the matrix.


Detailed Description

template<class element>
class chomp::homology::flatMatrix< element >::row

The class that represents a single row of the matrix.

Definition at line 68 of file flatmatr.h.


Constructor & Destructor Documentation

template<class element>
chomp::homology::flatMatrix< element >::row::row ( int  _offset,
std::vector< element > &  _v 
) [inline]

The constructor of a row of the matrix.

Definition at line 72 of file flatmatr.h.


Member Function Documentation

template<class element>
element& chomp::homology::flatMatrix< element >::row::operator[] ( int  j  )  [inline]

Returns a reference to the element at the given position.

Definition at line 76 of file flatmatr.h.

References chomp::homology::flatMatrix< element >::row::offset, and chomp::homology::flatMatrix< element >::row::v.


Member Data Documentation

template<class element>
int chomp::homology::flatMatrix< element >::row::offset [protected]

The offset in the vector of all the entries of the matrix.

Definition at line 81 of file flatmatr.h.

Referenced by chomp::homology::flatMatrix< element >::row::operator[]().

template<class element>
std::vector<element>& chomp::homology::flatMatrix< element >::row::v [protected]

A reference to the vector that stores all the entries of the matrix.

Definition at line 85 of file flatmatr.h.

Referenced by chomp::homology::flatMatrix< element >::row::operator[]().


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 11:08:42 2007 for The Uniform Expansion Software by  doxygen 1.5.3