QMCPACK
vmath.hpp File Reference
+ Include dependency graph for vmath.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
 
 qmcplusplus::simd
 

Functions

template<typename T , typename SIZET >
void remainder (const T *restrict in, T *restrict out, SIZET n)
 mod on an array out[i]=in[i]-floor(in[i]) More...
 
template<typename T , typename SIZET >
void remainder (T *restrict inout, SIZET n)
 
template<typename T , typename SIZET >
void sqrt (T *restrict inout, SIZET n)
 
template<typename T >
void sqrt (const T *restrict in, T *restrict out, int n)
 
template<typename T >
void inv (const T *restrict in, T *restrict out, int n)
 
template<typename T >
void add (int n, const T *restrict in, T *restrict out)