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

mtl Namespace Reference


Detailed Description

Namespace for the Matrix Template Library.

See http://www.lsc.nd.edu/research/mtl/ for more details.


Additions to MTL

We provide a few standard operators in MTL's namespace to make MTL matrices work with a greater range of code that also works with other matrix types, particularly TNT.

Only those operations that can be implemented cleanly and efficiently in MTL are supported. The general routines like operator+(Matrix,Matrix) appear to be difficult to support efficiently since they require and return a temporary variable.

template<class Matrix> Matrix & operator *= (Matrix &A, const typename Matrix::value_type B)
template<class Matrix> Matrix & operator+= (Matrix &A, const typename Matrix::value_type B)
template<class Matrix> Matrix & operator-= (Matrix &A, const typename Matrix::value_type B)


Generated on Mon Jan 20 02:37:38 2003 for RF-LISSOM by doxygen1.3-rc2