Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Addition and subtraction
[Linear Algebra libraryBinary operators]

Collaboration diagram for Addition and subtraction:

Operators that add or subtract one object from another. More...

Functions

template<typename T>
DenseVector< T > operator+ (const DenseVector< T > &v1, const DenseVector< T > &v2)
 Returns the sum of two vectors, as a new DenseVector<T>.
template<typename T>
DenseVector< T > operator- (const DenseVector< T > &v1, const DenseVector< T > &v2)
 Returns the difference of two vectors, as a new DenseVector<T>.
template<typename T>
DenseMatrix< T > operator+ (const DenseMatrix< T > &m1, const DenseMatrix< T > &m2)
 Returns the sum of two matrices, as a new DenseMatrix<T>.
template<typename T>
DenseMatrix< T > operator- (const DenseMatrix< T > &m1, const DenseMatrix< T > &m2)
 Returns the difference of two matrices, as a new DenseMatrix<T>.

Detailed Description

Operators that add or subtract one object from another.


Generated on Wed Jun 14 22:25:34 2006 for linalg by  doxygen 1.4.4