|
template<typename T1 , typename = std::enable_if_t<!std::is_same<T, T1>::value>> |
static std::complex< T > | convert (const std::complex< T1 > &logpsi) |
|
static std::complex< T > | convert (const std::complex< T > &logpsi) |
|
template<typename T>
struct qmcplusplus::LogToValue< std::complex< T > >
Definition at line 113 of file OrbitalSetTraits.h.
◆ convert() [1/2]
static std::complex<T> convert |
( |
const std::complex< T1 > & |
logpsi | ) |
|
|
inlinestatic |
Definition at line 116 of file OrbitalSetTraits.h.
References qmcplusplus::exp(), and qmcplusplus::imag().
float imag(const float &c)
imaginary part of a scalar. Cannot be replaced by std::imag due to AFQMC specific needs...
MakeReturn< UnaryNode< FnExp, typename CreateLeaf< Vector< T1, C1 > >::Leaf_t > >::Expression_t exp(const Vector< T1, C1 > &l)
◆ convert() [2/2]
static std::complex<T> convert |
( |
const std::complex< T > & |
logpsi | ) |
|
|
inlinestatic |
Definition at line 122 of file OrbitalSetTraits.h.
References qmcplusplus::exp().
MakeReturn< UnaryNode< FnExp, typename CreateLeaf< Vector< T1, C1 > >::Leaf_t > >::Expression_t exp(const Vector< T1, C1 > &l)
The documentation for this struct was generated from the following file: