IndexEigenValues Class Reference

Eigenvalues of the Conley index map gathered by levels. More...

#include <eigenval.h>

List of all members.

Public Member Functions

 IndexEigenValues ()
 The constructor of an empty object.
 IndexEigenValues (const theConleyIndexType &index)
 The constructor of an object based on the given Conley index.
std::vector< double > & re (unsigned int level)
 Returns the vector of the real parts of the eigenvalues at the given level for appending.
const std::vector
< double > & 
re (unsigned int level) const
 Returns the vector of the real parts of the eigenvalues at the given level for reading only.
std::vector< double > & im (unsigned int level)
 Returns the vector of the imaginary parts of the eigenvalues at the given level for appending.
const std::vector
< double > & 
im (unsigned int level) const
 Returns the vector of the imaginary parts of the eigenvalues at the given level for reading only.
int maxLevel () const
 Returns the number of levels + 1.
bool trivial () const
 Returns "true" if there are no eigenvalues at any level.
std::ostream & write (std::ostream &out, const char *valueSep=0, const char *lineSep=0) const
 Writes the eigenvalues in a human-readable format to the output stream.

Private Member Functions

void addVectors (unsigned int level)
 Makes sure that the vectors are large enough for the given level.

Private Attributes

std::vector
< std::vector
< double > > 
reVectors
 The vector of the real part vectors.
std::vector
< std::vector
< double > > 
imVectors
 The vector of the imaginary part vectors.


Detailed Description

Eigenvalues of the Conley index map gathered by levels.

Definition at line 62 of file eigenval.h.


Constructor & Destructor Documentation

IndexEigenValues::IndexEigenValues (  )  [inline]

The constructor of an empty object.

Definition at line 122 of file eigenval.h.

IndexEigenValues::IndexEigenValues ( const theConleyIndexType index  )  [inline]

The constructor of an object based on the given Conley index.

Calls the computation of nonzero eigenvalues of the given Conley index and acquires the computed eigenvalues.

Definition at line 127 of file eigenval.h.

References imVectors, and reVectors.


Member Function Documentation

std::vector< double > & IndexEigenValues::re ( unsigned int  level  )  [inline]

Returns the vector of the real parts of the eigenvalues at the given level for appending.

Definition at line 151 of file eigenval.h.

References addVectors(), and reVectors.

Referenced by write().

const std::vector< double > & IndexEigenValues::re ( unsigned int  level  )  const [inline]

Returns the vector of the real parts of the eigenvalues at the given level for reading only.

Definition at line 157 of file eigenval.h.

References reVectors.

std::vector< double > & IndexEigenValues::im ( unsigned int  level  )  [inline]

Returns the vector of the imaginary parts of the eigenvalues at the given level for appending.

Definition at line 165 of file eigenval.h.

References addVectors(), and imVectors.

Referenced by write().

const std::vector< double > & IndexEigenValues::im ( unsigned int  level  )  const [inline]

Returns the vector of the imaginary parts of the eigenvalues at the given level for reading only.

Definition at line 171 of file eigenval.h.

References imVectors.

int IndexEigenValues::maxLevel (  )  const [inline]

Returns the number of levels + 1.

To be used in a loop "for (int level = 0; level < this -> maxLevel (); ++ level)".

Definition at line 179 of file eigenval.h.

References reVectors.

Referenced by trivial(), and write().

bool IndexEigenValues::trivial (  )  const [inline]

Returns "true" if there are no eigenvalues at any level.

Otherwise returns "false". Does not verify if the eigenvalues are zero or not.

Definition at line 184 of file eigenval.h.

References maxLevel(), and reVectors.

std::ostream & IndexEigenValues::write ( std::ostream &  out,
const char *  valueSep = 0,
const char *  lineSep = 0 
) const [inline]

Writes the eigenvalues in a human-readable format to the output stream.

The separator of eigenvalues and line separator can be provided for customized output. Returns the reference of the provided output stream.

Definition at line 197 of file eigenval.h.

References im(), imVectors, maxLevel(), re(), and reVectors.

void IndexEigenValues::addVectors ( unsigned int  level  )  [inline, private]

Makes sure that the vectors are large enough for the given level.

Definition at line 140 of file eigenval.h.

References imVectors, and reVectors.

Referenced by im(), and re().


Member Data Documentation

std::vector<std::vector<double> > IndexEigenValues::reVectors [private]

The vector of the real part vectors.

Definition at line 110 of file eigenval.h.

Referenced by addVectors(), IndexEigenValues(), maxLevel(), re(), trivial(), and write().

std::vector<std::vector<double> > IndexEigenValues::imVectors [private]

The vector of the imaginary part vectors.

Definition at line 113 of file eigenval.h.

Referenced by addVectors(), im(), IndexEigenValues(), and write().


The documentation for this class was generated from the following file:
Generated on Sun Mar 28 17:47:58 2010 for The Conley-Morse Graphs Software by  doxygen 1.5.3