22 template <
int Rows,
typename Scalar>
40 template <
int Rows,
typename Scalar>
59 template <
int Rows,
typename Scalar>
93 template <
typename Scalar>
101 template <
typename Scalar>
112#include "tarch/la/LUDecomposition.cpph"
My standard matrix is a matrix where the size is fixed at compile time.
Matrix< Rows, Rows, Scalar > invert(const Matrix< Rows, Rows, Scalar > &M)
Invert matrix with LU decomposition.
Vector< Rows, Scalar > backSubstitution(const Matrix< Rows, Rows, Scalar > &R, const Vector< Rows, Scalar > &f)
Back substitution following LU decomposition.
double det(const Matrix< 2, 2, Scalar > &R)
void lu(Matrix< Rows, Rows, Scalar > &A, Vector< Rows, int > &pivots)
Performs an in-situ LU-decomposition of the square matrix A.
DynamicMatrix invertUpperTriangular(const DynamicMatrix &R)
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.