|
OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
|
#include "Algebra/Array2D.h"#include "Algebra/Vector.h"#include "Utilities/SizeError.h"#include <algorithm>#include <functional>#include <numeric>

Go to the source code of this file.
Classes | |
| class | Matrix< T > |
| Matrix. More... | |
Functions | |
| template<class T > | |
| Matrix< T > | operator+ (const Matrix< T > &, const Matrix< T > &) |
| Matrix addition. More... | |
| template<class T > | |
| Matrix< T > | operator- (const Matrix< T > &, const Matrix< T > &) |
| Matrix subtraction. More... | |
| template<class T > | |
| Matrix< T > | operator- (const Matrix< T > &) |
| Matrix unary minus. More... | |
| template<class T > | |
| Matrix< T > | operator* (const Matrix< T > &, const Matrix< T > &) |
| Matrix multiply. More... | |
| template<class T > | |
| Vector< T > | operator* (const Matrix< T > &, const Vector< T > &) |
| Matrix times column vector. More... | |
| template<class T > | |
| Vector< T > | operator* (const Vector< T > &, const Matrix< T > &) |
| Row vector times matrix. More... | |
| template<class T > | |
| Matrix< T > | operator* (const Matrix< T > &, const T &) |
| Matrix times scalar. More... | |
| template<class T > | |
| Matrix< T > | operator* (const T &, const Matrix< T > &) |
| Scalar times matrix. More... | |
| template<class T > | |
| Matrix< T > | operator/ (const Matrix< T > &, const T &) |
| Matrix divided by scalar. More... | |
| template<class T > | |
| Matrix< T > | operator- (const Matrix< T > arg) |
Matrix multiply.
Definition at line 298 of file Matrix.h.
References Matrix< T >::dotm().

Matrix times column vector.
Definition at line 304 of file Matrix.h.
References Matrix< T >::dotcv().

Row vector times matrix.
Definition at line 310 of file Matrix.h.
References Matrix< T >::dotrv().

Definition at line 290 of file Matrix.h.
References Array2D< T >::begin(), Array2D< T >::end(), Array2D< T >::ncols(), Array2D< T >::nrows(), and test::result.

1.8.5