Bridge++  Ver. 2.0.2
complexTraits.h
Go to the documentation of this file.
1 
10 #ifndef COMPLEX_TRAITS_INCLUDED
11 #define COMPLEX_TRAITS_INCLUDED
12 
13 #include "bridge_complex.h"
14 
15 template<typename REALTYPE>
17 
18 template<>
19 class ComplexTraits<double> {
20  public:
21  typedef dcomplex complex_t;
22 };
23 
24 template<>
25 class ComplexTraits<float> {
26  public:
27  typedef fcomplex complex_t;
28 };
29 
30 #endif
ComplexTraits< float >::complex_t
fcomplex complex_t
Definition: complexTraits.h:27
bridge_complex.h
ComplexTraits< double >::complex_t
dcomplex complex_t
Definition: complexTraits.h:21
ComplexTraits
Definition: complexTraits.h:16