Peano
Loading...
Searching...
No Matches
MatrixScalarOperations.h
Go to the documentation of this file.
1
// This file is part of the Peano project. For conditions of distribution and
2
// use, please see the copyright notice at www.peano-framework.org
3
#pragma once
4
5
6
namespace
tarch
{
7
namespace
la {
8
template
<
int
Rows,
int
Cols,
typename
Scalar>
9
Matrix<Rows,Cols,Scalar>
&
operator*=
(
10
Matrix<Rows,Cols,Scalar>
& matrix,
11
const
Scalar& scalar
12
);
13
19
template
<
int
Rows,
int
Cols,
typename
Scalar>
20
Matrix<Rows,Cols,Scalar>
operator*
(
21
const
Matrix<Rows,Cols,Scalar>
& matrix,
22
const
Scalar& scalar
23
);
24
30
template
<
int
Rows,
int
Cols,
typename
Scalar>
31
Matrix<Rows,Cols,Scalar>
operator*
(
32
const
Scalar& scalar,
33
const
Matrix<Rows,Cols,Scalar>
& matrix
34
);
35
36
37
template
<
int
Rows,
int
Cols>
38
Matrix<Rows,Cols,std::complex<double>
>
operator*
(
39
const
double
& scalar,
40
const
Matrix
<Rows,Cols,std::complex<double> >& matrix
41
);
42
43
}
44
}
45
46
47
48
#include "
tarch/la/MatrixScalarOperations.cpph
"
49
MatrixScalarOperations.cpph
tarch::la::Matrix
Static (i.e.
Definition
Matrix.h:42
tarch::la::operator*=
Matrix< Rows, Cols, Scalar > & operator*=(Matrix< Rows, Cols, Scalar > &matrix, const Scalar &scalar)
tarch::la::operator*
Matrix< Rows, Cols, Scalar > operator*(const Matrix< Rows, X, Scalar > &lhs, const Matrix< X, Cols, Scalar > &rhs)
tarch
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
Definition
accelerator.h:19
src
tarch
la
MatrixScalarOperations.h
Generated on Fri Apr 25 2025 15:00:13 for Peano by
1.10.0