Peano
Loading...
Searching...
No Matches
MatrixScalarOperations.h File Reference
Include dependency graph for MatrixScalarOperations.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 >
Matrix< Rows, Cols, Scalar > & tarch::la::operator*= (Matrix< Rows, Cols, Scalar > &matrix, const Scalar &scalar)
 
template<int Rows, int Cols, typename Scalar >
Matrix< Rows, Cols, Scalar > tarch::la::operator* (const Matrix< Rows, Cols, Scalar > &matrix, const Scalar &scalar)
 Multiplies every component of the matrix with the scalar.
 
template<int Rows, int Cols, typename Scalar >
Matrix< Rows, Cols, Scalar > tarch::la::operator* (const Scalar &scalar, const Matrix< Rows, Cols, Scalar > &matrix)
 Multiplies every component of the matrix with the scalar.
 
template<int Rows, int Cols>
Matrix< Rows, Cols, std::complex< double > > tarch::la::operator* (const double &scalar, const Matrix< Rows, Cols, std::complex< double > > &matrix)