15 template <
int Size,
typename Scalar>
24 template <
int Size,
typename Scalar>
33 template <
int Size,
typename Scalar>
42 template <
int Size,
typename Scalar>
51 template <
int Size,
typename Scalar>
54 template <
int Size,
typename Scalar>
63 template <
int Size,
typename Scalar>
72 template <
int Size,
typename Scalar>
75 template <
int Size,
typename Scalar>
84 template <
int Size,
typename Scalar>
96 template <
int Size,
typename Scalar>
99 template <
int Size,
typename Scalar>
104 template <
int Size,
typename Scalar>
109 template <
int Size,
typename Scalar>
114 template <
int Size,
typename Scalar>
119 template <
int Size,
typename Scalar>
125 template <
int Size,
typename Scalar>
130 template <
int Size,
typename Scalar>
135 template <
int Size,
typename Scalar>
140 template <
int Size,
typename Scalar>
186 template <
int Size,
typename Scalar>
193#include "tarch/la/VectorScalarOperations.cpph"
bool allGreaterEquals(const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE)
bool allGreater(const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE)
Vector< Size, Scalar > remainder(const Vector< Size, Scalar > &vector, double h)
Return the remainder of a division.
bool oneSmaller(const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE)
Matrix< Rows, Cols, Scalar > & operator*=(Matrix< Rows, Cols, Scalar > &matrix, const Scalar &scalar)
Matrix< Rows, Cols, Scalar > operator-(const Matrix< Rows, Cols, Scalar > &lhs, const Matrix< Rows, Cols, Scalar > &rhs)
Vector< Size, Scalar > & operator+=(Vector< Size, Scalar > &vector, const Scalar &scalar)
Adds every component of the vector to the scalar and assigns the result to the vector.
constexpr double NUMERICAL_ZERO_DIFFERENCE
Matrix< Rows, Cols, Scalar > operator+(const Matrix< Rows, Cols, Scalar > &lhs, const Matrix< Rows, Cols, Scalar > &rhs)
bool oneSmallerEquals(const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE)
Vector< Size, Scalar > operator/(const Vector< Size, Scalar > &vector, const Scalar &scalar)
Divides every component of the vector by the scalar and returns the result.
bool allSmallerEquals(const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE)
bool allSmaller(const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE)
bool oneEquals(const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE)
Matrix< Rows, Cols, Scalar > operator*(const Matrix< Rows, X, Scalar > &lhs, const Matrix< X, Cols, Scalar > &rhs)
bool equals(const Matrix< Rows, Cols, Scalar > &lhs, const Matrix< Rows, Cols, Scalar > &rhs, const Scalar &tolerance=NUMERICAL_ZERO_DIFFERENCE)
Compares to matrices on equality by means of a numerical accuracy.
bool oneGreaterEquals(const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE)
Vector< Size, Scalar > & operator-=(Vector< Size, Scalar > &vector, const Scalar &scalar)
Subtracts the scalar from every component of the vector and assigns the result to the vector.
bool oneGreater(const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE)
Vector< Size, Scalar > & operator/=(Vector< Size, Scalar > &vector, const Scalar &scalar)
Divides every component of the vector by the scalar and assigns the result to the vector.
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.