QMCPACK
ConvertToReal.h File Reference
+ Include dependency graph for ConvertToReal.h:
+ 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 T1 , typename T2 , IsReal< T2 > = true>
void convertToReal (const T1 &in, T2 &out)
 generic conversion from type T1 to type T2 using implicit conversion More...
 
template<typename T1 , typename T2 , IsReal< T2 > = true>
void convertToReal (const std::complex< T1 > &in, T2 &out)
 specialization of conversion from complex to real More...
 
template<typename T1 , typename T2 , unsigned D>
void convertToReal (const TinyVector< T1, D > &in, TinyVector< T2, D > &out)
 
template<typename T1 , typename T2 , unsigned D>
void convertToReal (const Tensor< T1, D > &in, Tensor< T2, D > &out)
 specialization for D tensory More...
 
template<typename T1 , typename T2 >
void convertToReal (const T1 *restrict in, T2 *restrict out, std::size_t n)
 generic function to convert arrays More...
 
template<typename T1 , typename T2 >
void convertToReal (const Vector< T1 > &in, Vector< T2 > &out)
 specialization for a vector More...
 
template<typename T1 , typename T2 >
void convertToReal (const Matrix< T1 > &in, Matrix< T2 > &out)
 specialization for a vector More...