Peano
Loading...
Searching...
No Matches
MatrixVectorOperations.h File Reference
Include dependency graph for MatrixVectorOperations.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tarch
 Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
namespace  tarch::la
 My collection of tiny vector operations.

Functions

template<int Rows, int Cols, typename Scalar>
Vector< Rows, Scalar > tarch::la::multiply (const Matrix< Rows, Cols, Scalar > &matrix, const Vector< Cols, Scalar > &vector)
 Performs a matrix x vector multiplication.
template<int Rows, int Cols, typename Scalar>
void tarch::la::matVec (const Matrix< Rows, Cols, Scalar > &matrix, Scalar alpha, const Vector< Cols, Scalar > &v, Vector< Rows, Scalar > &r)
 Compute r = r + alpha * M * v in-situ.
template<int Rows, int Cols, typename Scalar>
Vector< Rows, Scalar > tarch::la::operator* (const Matrix< Rows, Cols, Scalar > &matrix, const Vector< Cols, Scalar > &vector)
 Performs a matrix x vector multiplication.
template<int Size, typename Scalar>
Matrix< Size, Size, Scalar > tarch::la::outerDot (const Vector< Size, Scalar > &lhs, const Vector< Size, Scalar > &rhs)
 Outer dot product.