Peano
Loading...
Searching...
No Matches
ScalarOperations.h File Reference
#include "tarch/tarch.h"
#include "tarch/la/Scalar.h"
#include <complex>
Include dependency graph for ScalarOperations.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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.
 

Functions

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 bool tarch::la::smaller (double lhs, double rhs, double tolerance=NUMERICAL_ZERO_DIFFERENCE) InlineMethod
 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)