#include "tarch/tarch.h"
#include "tarch/la/Scalar.h"
#include <complex>
Go to the source code of this file.
|
| namespace | tarch |
| | Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
|
| |
| namespace | tarch::la |
| | My collection of tiny vector operations.
|
| |
|
| double | tarch::la::abs (double value) |
| | Returns the absolute value of a type by redirecting to std::abs.
|
| |
| int | tarch::la::abs (int value) |
| | Returns the absolute value of the given int.
|
| |
| double | tarch::la::abs (const std::complex< double > &value) |
| |
| int | tarch::la::aPowI (int i, int a) |
| | Computes the i-th power of a in integer arithmetic.
|
| |
| bool | tarch::la::greater (double lhs, double rhs, double tolerance=NUMERICAL_ZERO_DIFFERENCE) |
| |
| bool | tarch::la::greaterEquals (double lhs, double rhs, double tolerance=NUMERICAL_ZERO_DIFFERENCE) |
| |
| bool | tarch::la::equals (double lhs, double rhs, double tolerance=NUMERICAL_ZERO_DIFFERENCE) |
| |
| static InlineMethod bool | tarch::la::smaller (double lhs, double rhs, double tolerance=NUMERICAL_ZERO_DIFFERENCE) |
| | Smaller operator for floating point values.
|
| |
| bool | tarch::la::smallerEquals (double lhs, double rhs, double tolerance=NUMERICAL_ZERO_DIFFERENCE) |
| |
| bool | tarch::la::equals (const std::complex< double > &lhs, const std::complex< double > &rhs, double tolerance=NUMERICAL_ZERO_DIFFERENCE) |
| |
| int | tarch::la::sign (double value, double tolerance=NUMERICAL_ZERO_DIFFERENCE) |
| |
| int | tarch::la::round (double value) |
| |
| int | tarch::la::round (float value) |
| |