Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Matrix Class Template Reference

#include <Matrix.h>

Inheritance diagram for Matrix::

DerivedObjectOf ObjectOf List of all members.

Public Methods

 Matrix (int n=0)
 Matrix (int h, int w)
Matrix& operator+= (const Matrix &M)
Matrix& operator-= (const Matrix &M)
Matrix& operator *= (const Matrix &M)
Matrix operator+ (const Matrix &M) const
Matrix operator- (const Matrix &M) const
Matrix operator * (const Matrix &M) const
Matrix operator- () const

Protected Methods

 Matrix (MatrixRep< R > newrep)
 Matrix (MatrixRep< R > *newrep)

template<class R> class Matrix


Constructor & Destructor Documentation

template<class R>
Matrix<R>::Matrix<R> ( int n = 0 ) [inline]
 

Definition at line 107 of file Matrix.h.

Referenced by operator *(), operator+(), and operator-().

template<class R>
Matrix<R>::Matrix<R> ( int h,
int w ) [inline]
 

Definition at line 111 of file Matrix.h.

template<class R>
Matrix<R>::Matrix<R> ( MatrixRep< R > newrep ) [inline, protected]
 

Definition at line 172 of file Matrix.h.

template<class R>
Matrix<R>::Matrix<R> ( MatrixRep< R > * newrep ) [inline, protected]
 

Definition at line 174 of file Matrix.h.


Member Function Documentation

template<class R>
Matrix<R> & Matrix<R>::operator+= ( const Matrix<R> & M ) [inline]
 

Definition at line 122 of file Matrix.h.

template<class R>
Matrix<R> & Matrix<R>::operator-= ( const Matrix<R> & M ) [inline]
 

Definition at line 127 of file Matrix.h.

template<class R>
Matrix<R> & Matrix<R>::operator *= ( const Matrix<R> & M ) [inline]
 

Definition at line 132 of file Matrix.h.

template<class R>
Matrix<R> Matrix<R>::operator+ ( const Matrix<R> & M ) const [inline]
 

Definition at line 136 of file Matrix.h.

template<class R>
Matrix<R> Matrix<R>::operator- ( const Matrix<R> & M ) const [inline]
 

Definition at line 139 of file Matrix.h.

template<class R>
Matrix<R> Matrix<R>::operator * ( const Matrix<R> & M ) const [inline]
 

Definition at line 142 of file Matrix.h.

template<class R>
Matrix<R> Matrix<R>::operator- ( ) const [inline]
 

Definition at line 145 of file Matrix.h.


The documentation for this class was generated from the following file:
Generated at Tue Jun 19 09:49:58 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001