14#pragma push_macro("Dimensions")
15#pragma push_macro("assertion")
19#pragma pop_macro("Dimensions")
20#pragma pop_macro("assertion")
29 double abs(
double value);
36 double abs(
const std::complex<double>& value );
41 int aPowI(
int i,
int a);
47 return lhs -
rhs > tolerance;
91 return lhs -
rhs < -tolerance;
109 int round(
double value);
110 int round(
float value);
My collection of tiny vector operations.
Vector< Size, Scalar > abs(const Vector< Size, Scalar > &vector)
Computes the absolute component values of the vector, creating a temporary vector to hold the result.
constexpr double NUMERICAL_ZERO_DIFFERENCE
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.
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
#define InlineMethod
Generic identifier for inlined functions.