QMCPACK
math.hpp File Reference
+ 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

 qmcplusplus
 helper functions for EinsplineSetBuilder
 

Functions

template<typename T >
void sincos (T a, T *restrict s, T *restrict c)
 sincos function wrapper More...
 
int pow (int i, int n)
 return i^n More...
 
template<typename T , typename = typename std::enable_if<std::is_floating_point<T>::value>::type>
bool iszero (T a)
 
bool isnan (float)
 return true if the value is NaN. More...
 
bool isnan (double a)
 
bool isfinite (float)
 return true if the value is finite. More...
 
bool isfinite (double a)
 
bool isinf (float)
 return true if the value is Inf. More...
 
bool isinf (double a)