Class hierarchy   Compound list   File list   Compound Members   File Members   Related Pages   Examples  

baseMatrix Class Reference

The baseMatrix template is the template for a matrix of objects. More...

Inherited by Matrix.

List of all members.

Public Members

Protected Members


Detailed Description

The baseMatrix template is the template for a matrix of objects.

A baseMatrix object created with an instantiation of this template is resizable. The private data of the baseMatrix template consists of:

Examples:
d1SaddleODE.C and d1StableODE.C.

Member Function Documentation

baseMatrix::baseMatrix(int WRows, int WColumns)

The default constructor for the template baseMatrix.

Parameters:
T - the type of elements in the baseMatrix.
WRows - a positive integer specifying the number of rows of the baseMatrix.
WColumns - a positive integer specifying the number of columns of the baseMatrix.
Returns:
a baseMatrix<T> object.

baseMatrix::baseMatrix(const baseMatrix<T> &init)

The copy constructor for the template baseMatrix.

Parameters:
T - the type of elements in the baseMatrix.
init - a reference to a baseMatrix<T> constant object.
Returns:
a baseMatrix<T> object.

const T& baseMatrix::operator()(int row, int column) const

Overloaded () operator, provides access to the baseMatrix elements.

Parameters:
T - the type of elements in the baseMatrix.
row - a positive integer specifying the row of the element to access.
column - a positive integer specifying the column of the element to access.
Returns:
a reference to a T.

const T& baseMatrix::operator()(int row, int column) const

Overloaded () operator, provides access to the baseMatrix elements.

Parameters:
T - the type of elements in the baseMatrix.
row - a positive integer specifying the row of the element to access.
column - a positive integer specifying the column of the element to access.
Returns:
a reference to a T.

const baseMatrix<T>& baseMatrix::operator=(const baseMatrix<T> &right)

Overloaded assignment operator.

Parameters:
T - the type of elements in the baseMatrix.
right - a reference to a baseMatrix<T> constant, on the right side of the equality.
Returns:
a reference to a baseMatrix<T> constant, copied to the left side of the equality.


The documentation for this class was generated from the following files:
Generated at Sat Oct 16 03:55:28 1999 for Computing Invariant Manifolds Library by doxygen  written by Dimitri van Heesch, © 1997-1998