The Conley-Morse Graphs Software
|
Eigenvalues of the Conley index map gathered by levels. More...
#include <eigenval.h>
Public Member Functions | |
IndexEigenValues () | |
The constructor of an empty object. More... | |
template<class ConleyIndexType > | |
IndexEigenValues (const ConleyIndexType &index) | |
The constructor of an object based on the given Conley index. More... | |
std::vector< double > & | re (unsigned int level) |
Returns the vector of the real parts of the eigenvalues at the given level for appending. More... | |
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. More... | |
std::vector< double > & | im (unsigned int level) |
Returns the vector of the imaginary parts of the eigenvalues at the given level for appending. More... | |
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. More... | |
int | maxLevel () const |
Returns the number of levels + 1. More... | |
bool | trivial () const |
Returns "true" if there are no eigenvalues at any level. More... | |
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. More... | |
Private Member Functions | |
void | addVectors (unsigned int level) |
Makes sure that the vectors are large enough for the given level. More... | |
Private Attributes | |
std::vector< std::vector< double > > | reVectors |
The vector of the real part vectors. More... | |
std::vector< std::vector< double > > | imVectors |
The vector of the imaginary part vectors. More... | |
Eigenvalues of the Conley index map gathered by levels.
Definition at line 62 of file eigenval.h.
|
inline |
The constructor of an empty object.
Definition at line 123 of file eigenval.h.
|
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 129 of file eigenval.h.
|
inlineprivate |
|
inline |
Returns the vector of the imaginary parts of the eigenvalues at the given level for appending.
Definition at line 167 of file eigenval.h.
References addVectors(), and imVectors.
Referenced by write().
|
inline |
Returns the vector of the imaginary parts of the eigenvalues at the given level for reading only.
Definition at line 173 of file eigenval.h.
References imVectors.
|
inline |
Returns the number of levels + 1.
To be used in a loop "for (int level = 0; level < this -> maxLevel (); ++ level)".
Definition at line 181 of file eigenval.h.
References reVectors.
|
inline |
Returns the vector of the real parts of the eigenvalues at the given level for appending.
Definition at line 153 of file eigenval.h.
References addVectors(), and reVectors.
Referenced by write().
|
inline |
Returns the vector of the real parts of the eigenvalues at the given level for reading only.
Definition at line 159 of file eigenval.h.
References reVectors.
|
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 186 of file eigenval.h.
References maxLevel(), and reVectors.
|
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 199 of file eigenval.h.
References im(), imVectors, maxLevel(), re(), and reVectors.
|
private |
The vector of the imaginary part vectors.
Definition at line 114 of file eigenval.h.
Referenced by addVectors(), im(), IndexEigenValues(), and write().
|
private |
The vector of the real part vectors.
Definition at line 111 of file eigenval.h.
Referenced by addVectors(), IndexEigenValues(), maxLevel(), re(), trivial(), and write().