KWStyle - vnl_complex_traits+char-.h
 
Matrix View
Description

1 DEF #ifndef __itk_common_vnl_complex_traits_char_h__
2 HRD,DEF #define __itk_common_vnl_complex_traits_char_h__
3
4 #include <vnl/vnl_complex_traits.h>
5 // The following macro is a complement to the ones
6 // in vxl/core/vnl/vnl_complex_traits.h lines 34-49.
7 #define VCL_DEFINE_SPECIALIZATION_MACRO(T) \
8 HRD VCL_DEFINE_SPECIALIZATION struct vnl_complex_traits<T > \
9 { \
10 HRD   enum { isreal = true }; \
11   static T conjugate(T x) { return x; } \
12   static vcl_complex<T> complexify(T x) { return vcl_complex<T >(x, (T)0); } \
13 }
14 // end of macro
15 HRD VCL_DEFINE_SPECIALIZATION_MACRO(char);
16 HRD #undef VCL_DEFINE_SPECIALIZATION_MACRO
17
18 #endif 
19

Generated by KWStyle 1.0b on Tuesday January,17 at 02:14:55PM
© Kitware Inc.