preCICE v3.1.1
Loading...
Searching...
No Matches
Namespaces | Functions
math.hpp File Reference
#include "math/constants.hpp"
#include "math/differences.hpp"
#include "math/la.hpp"
Include dependency graph for math.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  precice
 Main namespace of the precice library.
 
namespace  precice::math
 provides general mathematical constants and functions.
 

Functions

int precice::math::sign (double number)
 Return the sign, one of {-1, 0, 1}.
 
template<int iexp, typename T >
constexpr T precice::math::pow_int (const T x)
 Computes the power of a given number by an integral exponent given at compile time, which is much faster than std::pow(x, iexp)