QMCPACK
TestComplexHelper< P > Class Template Reference
+ Collaboration diagram for TestComplexHelper< P >:

Public Member Functions

void run ()
 

Private Types

using Cmplx = std::complex< P >
 
using Real = RealAlias< Cmplx >
 
using CmplxRebuild = ValueAlias< P, Cmplx >
 
using RealRebuild = ValueAlias< P, Real >
 

Detailed Description

template<typename P>
class qmcplusplus::TestComplexHelper< P >

Definition at line 18 of file test_complex_helper.cpp.

Member Typedef Documentation

◆ Cmplx

using Cmplx = std::complex<P>
private

Definition at line 20 of file test_complex_helper.cpp.

◆ CmplxRebuild

using CmplxRebuild = ValueAlias<P, Cmplx>
private

Definition at line 22 of file test_complex_helper.cpp.

◆ Real

using Real = RealAlias<Cmplx>
private

Definition at line 21 of file test_complex_helper.cpp.

◆ RealRebuild

using RealRebuild = ValueAlias<P, Real>
private

Definition at line 23 of file test_complex_helper.cpp.

Member Function Documentation

◆ run()

void run ( )
inline

Definition at line 26 of file test_complex_helper.cpp.

Referenced by qmcplusplus::TEST_CASE().

27  {
28  Cmplx aa;
29  CmplxRebuild bb;
30  aa = bb;
31 
32  Real cc;
33  RealRebuild dd(0);
34  cc = dd;
35  }
ValueAlias< P, Cmplx > CmplxRebuild

The documentation for this class was generated from the following file: