Peano
Loading...
Searching...
No Matches
ShallowMatrixVectorOperations.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
#include "
tarch/la/ShallowMatrix.h
"
7
#include "
tarch/la/Matrix.h
"
8
#include "
tarch/la/Vector.h
"
9
10
11
namespace
tarch
{
12
namespace
la {
18
template
<
int
Rows,
int
Cols,
typename
Scalar>
19
Vector<Rows, Scalar>
multiply
(
20
const
ShallowMatrix<Rows, Cols, Scalar>
& matrix,
21
const
Vector<Cols, Scalar>
& vector
22
);
23
24
template
<
int
Rows,
int
Cols,
typename
Scalar>
25
Vector<Rows, Scalar>
multiply
(
26
const
ShallowMatrix<Rows, Cols, Scalar>
& matrix,
27
const
SmartPointerVector<Cols, Scalar>
& vector
28
);
29
}
// namespace la
30
}
// namespace tarch
31
32
33
#include "ShallowMatrixVectorOperations.cpph"
Matrix.h
ShallowMatrix.h
Vector.h
tarch::la::ShallowMatrix
Shallow matrix wrapping an existing array.
Definition
ShallowMatrix.h:29
tarch::la::multiply
Matrix< Rows, Cols, Scalar > multiply(const Matrix< Rows, X, Scalar > &lhs, const Matrix< X, Cols, Scalar > &rhs)
Performs a matrix x matrix multiplication.
tarch
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
Definition
accelerator.h:19
tarch::la::SmartPointerVector
Simple SmartPointerVector class.
Definition
SmartPointerVector.h:47
tarch::la::Vector
Simple vector class.
Definition
Vector.h:159
src
tarch
la
ShallowMatrixVectorOperations.h
Generated on Tue Nov 3 2026 16:05:42 for Peano by
1.9.8