17 template <
int Rows,
int Cols,
typename Scalar>
26 template <
int Rows,
int Cols,
typename Scalar>
40 template <
int Rows,
int Cols,
typename Scalar>
51 template <
int Rows,
int Cols>
61 template <
int Size,
typename Scalar>
Matrix< Rows, Cols, Scalar > multiply(const Matrix< Rows, X, Scalar > &lhs, const Matrix< X, Cols, Scalar > &rhs)
Performs a matrix x matrix multiplication.
void 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.
Matrix< Size, Size, Scalar > outerDot(const Vector< Size, Scalar > &lhs, const Vector< Size, Scalar > &rhs)
Outer dot product.
Matrix< Rows, Cols, Scalar > operator*(const Matrix< Rows, X, Scalar > &lhs, const Matrix< X, Cols, Scalar > &rhs)
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.