TBCI Numerical high perf. C++ Library  2.8.0
cplx_memalloc.h
Go to the documentation of this file.
1 
8 #ifndef TBCI_CPLX_MALLOC_H
9 #define TBCI_CPLX_MALLOC_H
10 
11 #ifdef MALLOC_CACHE
13 
14 /* Provide specialized memory allocators for cplx<> types */
15 //typedef cplx<double> cplx_double;
17 typedef cplx<double>* cplxdoubleptr;
18 SPECIALIZE_MEMALLOC(cplxdoubleptr)
19 SPECIALIZE_MEMALLOC2(cplx<float>,cplx_float)
20 typedef cplx<float>* cplxfloatptr;
21 SPECIALIZE_MEMALLOC(cplxfloatptr)
22 
24 #endif /* MALLOC_CACHE */
25 #endif /* TBCI_CPLX_MALLOC_H */
26 
#define SPECIALIZE_MEMALLOC(TYPE)
Definition: malloc_cache.h:578
Our own complex class.
Definition: cplx.h:48
#define NAMESPACE_TBCI
Definition: basics.h:317
#define SPECIALIZE_MEMALLOC2(TYPE, SHTP)
Definition: malloc_cache.h:587
#define NAMESPACE_END
Definition: basics.h:323