QMCPACK
algorithm.hpp File Reference

SIMD version of functions in algorithm. More...

+ Include dependency graph for algorithm.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 T1 , typename T2 >
T2 accumulate_n (const T1 *restrict in, size_t n, T2 res)
 
template<typename T1 , typename T2 >
void copy (T1 *restrict target, const T2 *restrict source, size_t n)
 copy function using memcpy More...
 
template<typename T >
void copy (T *restrict target, const T *restrict source, size_t n)
 copy function using memcpy More...
 
template<typename T1 , typename T2 >
void copy (T1 *restrict target_r, T1 *restrict target_i, const std::complex< T2 > *restrict source, size_t n)
 copy complex to two real containers More...
 
template<typename T >
void accumulate_phases (const int &n, const std::complex< T > *restrict x, const std::complex< T > *restrict y, T &rN, T &iN, T &riN)
 
template<typename T , typename TO >
void transpose (const T *restrict A, size_t m, size_t lda, TO *restrict B, size_t n, size_t ldb)
 transpose of A(m,n) to B(n,m) More...
 
template<typename T , typename TO >
void remapCopy (size_t m, size_t n, const T *restrict A, size_t lda, TO *restrict B, size_t ldb)
 copy of A(m,n) to B(m,n) More...
 

Detailed Description

SIMD version of functions in algorithm.

Definition in file algorithm.hpp.