copasi API  0.1
Public Member Functions | Friends
CEigen Class Reference

#include <CEigen.h>

Inheritance diagram for CEigen:
CCopasiContainer CCopasiObject

List of all members.

Public Member Functions

 CEigen (const std::string &name="NoName", const CCopasiContainer *pParent=NULL)
 CEigen (const CEigen &src, const CCopasiContainer *pParent=NULL)
virtual ~CEigen ()
virtual void print (std::ostream *ostream) const
void initialize ()
void cleanup ()
void calcEigenValues (const CMatrix< C_FLOAT64 > &matrix)
void stabilityAnalysis (const C_FLOAT64 &resolution)
const C_FLOAT64 & getMaxrealpart () const
const C_FLOAT64 & getMaximagpart () const
const C_INT32 & getNzero () const
const C_FLOAT64 & getStiffness () const
const C_FLOAT64 & getHierarchy () const
const C_INT32 & getNreal () const
const C_INT32 & getNimag () const
const C_INT32 & getNcplxconj () const
const C_INT32 & getNposreal () const
const C_INT32 & getNnegreal () const
const CVector< C_FLOAT64 > & getI () const
const CVector< C_FLOAT64 > & getR () const

Friends

std::ostream & operator<< (std::ostream &os, const CEigen &A)

Detailed Description

File name: CEigen.h

Programmer: Yongqun He Contact email: yohe@vt.edu Purpose: This is the .h file for the class CEigen. It is to calculate eigenvalues and eigenvectors of a matrix. It mainly uses the dgees_() subroutine of CLAPACK


Constructor & Destructor Documentation

CEigen::CEigen ( const std::string &  name = "NoName",
const CCopasiContainer pParent = NULL 
)

Default constructor

Parameters:
conststd::string & name (default: "NoName")
constCCopasiContainer * pParent (default: NULL)

Default constructor

CEigen::CEigen ( const CEigen src,
const CCopasiContainer pParent = NULL 
)

Copy constructor

Parameters:
constCMetab & src
constCCopasiContainer * pParent (default: NULL)
CEigen::~CEigen ( ) [virtual]

Destructor

Deconstructor


Member Function Documentation

void CEigen::calcEigenValues ( const CMatrix< C_FLOAT64 > &  matrix)

Eigenvalue calculations

Parameters:
constC_FLOAT64 * matrix
constunsigned C_INT32 & dim
void CEigen::cleanup ( )
const C_FLOAT64 & CEigen::getHierarchy ( ) const

Get the eigenvalue hierarchy

const CVector< C_FLOAT64 > & CEigen::getI ( ) const
const C_FLOAT64 & CEigen::getMaximagpart ( ) const

Get the max eigenvalue imaginary part

const C_FLOAT64 & CEigen::getMaxrealpart ( ) const

Get the max eigenvalue real part

return the matrix Set the Matrix

const C_INT32 & CEigen::getNcplxconj ( ) const
const C_INT32 & CEigen::getNimag ( ) const

Return the number of imaginary eigenvalue numbers

const C_INT32 & CEigen::getNnegreal ( ) const

Return the number of eigenvalues with negative real part

const C_INT32 & CEigen::getNposreal ( ) const

Return the number of eigenvalues with positive real part

const C_INT32 & CEigen::getNreal ( ) const

Return number of real eigenvalues WeiSun 3/28/02

const C_INT32 & CEigen::getNzero ( ) const

Get the number of zero eigenvalues

const CVector< C_FLOAT64 > & CEigen::getR ( ) const
const C_FLOAT64 & CEigen::getStiffness ( ) const

Get the eigenvalue stiffness

void CEigen::initialize ( )

initialize variables for eigenvalue calculations

void CEigen::print ( std::ostream *  ostream) const [virtual]

This is the output method for any object. The default implementation provided with CCopasiObject uses the ostream operator<< of the object to print the object.To overide this default behaviour one needs to reimplement the virtual print function.

Parameters:
std::ostream* ostream

Reimplemented from CCopasiObject.

void CEigen::stabilityAnalysis ( const C_FLOAT64 &  resolution)

Calculate various eigenvalue statistics


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CEigen A 
) [friend]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines