Class hierarchy Compound list File list Compound Members File Members Related Pages Examples
baseVector Class Reference
The baseVector template is the template for a vector (array) of objects. More...
Inherited by Vector.
List of all members.
Public Members
- baseVector (int = 1)
- The default constructor for the template baseVector.
- baseVector (const baseVector &)
- The copy constructor for the template baseVector.
- ~baseVector ()
- T& operator[] (int)
- const T& operator[] (int) const
- int getSize () const
- const baseVector<T>& operator= (const baseVector<T> &)
- const baseVector<T>& operator= (const baseMatrix<T> &)
Protected Members
Detailed Description
The baseVector template is the template for a vector (array) of objects.
A baseVector object created with an instantiation of this template is resizable. The private data of the baseVector template consists of :
-
int
size,
- T *ptr, which represents the elements of the vector.
-
Examples:
-
d1SaddleODE.C, d1StableODE.C, d2StableODE.C and d2StableTruncMap.C.
Member Function Documentation
baseVector::baseVector(int vectorSize)
The default constructor for the template baseVector.
-
Parameters:
-
T - the type of elements in the baseVector.
-
vectorSize - a positive integer specifying the size of the baseVector.
-
Returns:
-
a baseVector<T> object.
baseVector::baseVector(const baseVector<T> &init)
The copy constructor for the template baseVector.
-
Parameters:
-
T - the type of elements in the baseVector.
-
init - a reference to a baseVector<T> constant.
-
Returns:
-
a baseVector<T> object.
The documentation for this class was generated from the following files:
- TBaseVector.h
- TBaseVector.C
Generated at Sat Oct 16 03:55:28 1999 for Computing Invariant Manifolds Library by
written by Dimitri van Heesch, © 1997-1998