Collaboration diagram for Addition and subtraction:
![]() |
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>. |