goblinMatrix Class Template Reference

Base class for all matrix objects. More...

#include <matrix.h>

Inheritance diagram for goblinMatrix:

managedObject goblinRootObject denseMatrix sparseMatrix

Public Member Functions

 goblinMatrix (TItem, TItem) throw ()
 ~goblinMatrix () throw ()
unsigned long Allocated () const throw ()
char * Display () const throw ()
TItem K () const throw ()
TItem L () const throw ()
void Transpose () throw ()
virtual void SetCoeff (TItem, TItem, TCoeff)=0 throw (ERRange)
virtual TCoeff Coeff (TItem, TItem) const =0 throw (ERRange)
void Add (goblinMatrix &) throw (ERRange)
void Sum (goblinMatrix &, goblinMatrix &) throw (ERRange)
void Product (goblinMatrix &, goblinMatrix &) throw (ERRange)
void GaussElim (goblinMatrix &, TFloat=0) throw (ERRange,ERRejected)

Protected Attributes

TItem k
TItem l
bool transp

Detailed Description

template<class TItem, class TCoeff>
class goblinMatrix< TItem, TCoeff >

Base class for all matrix objects.


Constructor & Destructor Documentation

goblinMatrix TItem  ,
TItem 
throw ()
 

~goblinMatrix  )  throw ()
 


Member Function Documentation

void Add goblinMatrix< TItem, TCoeff > &   )  throw (ERRange)
 

unsigned long Allocated  )  const throw ()
 

Reimplemented from managedObject.

Reimplemented in denseMatrix, and denseMatrix< TIndex, TFloat >.

virtual TCoeff Coeff TItem  ,
TItem 
const throw (ERRange) [pure virtual]
 

Implemented in denseMatrix, and sparseMatrix.

char * Display  )  const throw () [virtual]
 

Unconditional display of data objects.

Reimplemented from managedObject.

void GaussElim goblinMatrix< TItem, TCoeff > &  ,
TFloat  = 0
throw (ERRange,ERRejected)
 

TItem K  )  const throw ()
 

TItem L  )  const throw ()
 

void Product goblinMatrix< TItem, TCoeff > &  ,
goblinMatrix< TItem, TCoeff > & 
throw (ERRange)
 

virtual void SetCoeff TItem  ,
TItem  ,
TCoeff 
throw (ERRange) [pure virtual]
 

Implemented in denseMatrix, and sparseMatrix.

void Sum goblinMatrix< TItem, TCoeff > &  ,
goblinMatrix< TItem, TCoeff > & 
throw (ERRange)
 

void Transpose  )  throw ()
 


Field Documentation

TItem k [protected]
 

TItem l [protected]
 

bool transp [protected]