TBCI Numerical high perf. C++ Library  2.8.0
cplxinst.cc
Go to the documentation of this file.
1 
4 /* $Id: cplxinst.cc,v 1.5.2.10 2019/05/28 11:13:02 garloff Exp $ */
5 
6 #if defined(__GNUC__) && __GNUC__ == 2
7 # define MINLINE /* extern inline */
8 #endif
9 
10 #define PRAGMA_IMPL_MALLOC_CACHE
11 #include "tbci/basics.h"
12 
13 #ifdef PRAGMA_I
14 # pragma implementation "cplx.h"
15 #endif
16 #include "tbci/cplx.h"
17 
18 #ifndef NUM
19 #define NUM double
20 #endif
21 
22 #define TEMPLATE template
23 
24 #define T NUM
25 #define U NUM
26 #include "cplx_inst.h"
27 
28 #ifdef MALLOC_CACHE
29 #include "tbci/malloc_cache.h"
31 
32 # define INST_TBCI_MEMALLOC(TYPE) \
33 template class tbci_memalloc< TYPE >; \
34 template class tbci_memalloc_cache< TYPE >
35 //template <> tbci_memalloc< TYPE >& tbci_s_allocator < TYPE > (DUMMY2(TYPE) )
36 
37 INST_TBCI_MEMALLOC(cplx<double>);
38 INST_TBCI_MEMALLOC(cplx<double>*);
39 INST_TBCI_MEMALLOC(cplx<float>);
40 INST_TBCI_MEMALLOC(cplx<float>*);
41 
42 # undef INST_TBCI_MEMALLOC
44 #endif
45 
Our own complex class.
Definition: cplx.h:48
#define NAMESPACE_TBCI
Definition: basics.h:317
#define NAMESPACE_END
Definition: basics.h:323