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

mtl Namespace Reference

Namespace for the Matrix Template Library. More...


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<classMatrix> Matrix& operator *= (Matrix &A, const typename Matrix::value_type B)
template<classMatrix> Matrix& operator+= (Matrix &A, const typename Matrix::value_type B)
template<classMatrix> Matrix& operator-= (Matrix &A, const typename Matrix::value_type B)


Detailed Description

Namespace for the Matrix Template Library.

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


Function Documentation

template<classMatrix>
Matrix & mtl::operator *= ( Matrix & A,
const typename Matrix::value_type B ) [inline]
 

Definition at line 174 of file matrix.h.

template<classMatrix>
Matrix & mtl::operator+= ( Matrix & A,
const typename Matrix::value_type B ) [inline]
 

Definition at line 180 of file matrix.h.

template<classMatrix>
Matrix & mtl::operator-= ( Matrix & A,
const typename Matrix::value_type B ) [inline]
 

Definition at line 193 of file matrix.h.


Generated at Mon Aug 21 00:31:29 2000 for RF-LISSOM by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000