std_cplx.h File Reference

Wrapper for C++ std library complex type plus compatibility features. More...

#include "basics.h"
#include <complex>

Include dependency graph for std_cplx.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  TBCI
namespace  std

Classes

class  TBCI::tbci_memalloc< std::complex< double > >
class  TBCI::tbci_memalloc< stdcomplexdoubleptr >
class  TBCI::tbci_memalloc< std::complex< float > >
class  TBCI::tbci_memalloc< stdcomplexfloatptr >
class  TBCI::tbci_traits< std::complex< float > >
class  TBCI::tbci_traits< std::complex< double > >
class  TBCI::tbci_traits< std::complex< float > * >
class  TBCI::tbci_traits< std::complex< double > * >

Defines

#define CPLX(t)   CPLX__ complex<t>
#define CPLXR(t, a, r)   CPLX__ complex<t> a (r)
#define CPLXRI(t, a, r, i)   CPLX__ complex<t> a (r,i)
#define CPLXC(t, a, c)   CPLX__ complex<t> a (c)
#define CPLXVRI(t, r, i)   (CPLX__ complex<t>(r,i))

Typedefs

typedef std::complex< double > * TBCI::stdcomplexdoubleptr
typedef std::complex< float > * TBCI::stdcomplexfloatptr

Functions

template<typename T>
double TBCI::fabssqr (const std::complex< T > &a)
template<typename T>
double std::fabs (const std::complex< T > &a)
template<typename T>
bool std::operator> (const std::complex< T > &a, const std::complex< T > &b)
 Larger/Smaller is not mathematically defined for complex numbers; for convenience we provide these operators, focusing just on the magnitude.
template<typename T>
bool std::operator>= (const std::complex< T > &a, const std::complex< T > &b)
template<typename T>
bool std::operator< (const std::complex< T > &a, const std::complex< T > &b)
template<typename T>
bool std::operator<= (const std::complex< T > &a, const std::complex< T > &b)
template<typename T>
std::complex< T > std::acos (const std::complex< T > &x)
template<typename T>
std::complex< T > std::asin (const std::complex< T > &x)
template<typename T>
std::complex< T > std::atan (const std::complex< T > &x)
template<typename T>
std::complex< T > std::atanh (const std::complex< T > &x)
template<typename T>
std::complex< T > std::log10 (const std::complex< T > &x)
template<>
tbci_memalloc< std::complex
< double > > & 
TBCI::tbci_s_allocator< std::complex< double > > ()
template<>
tbci_memalloc
< stdcomplexdoubleptr > & 
TBCI::tbci_s_allocator< stdcomplexdoubleptr > ()
template<>
tbci_memalloc< std::complex
< float > > & 
TBCI::tbci_s_allocator< std::complex< float > > ()
template<>
tbci_memalloc
< stdcomplexfloatptr > & 
TBCI::tbci_s_allocator< stdcomplexfloatptr > ()


Detailed Description

Wrapper for C++ std library complex type plus compatibility features.

Definition in file std_cplx.h.


Define Documentation

#define CPLX (  )     CPLX__ complex<t>

Definition at line 23 of file std_cplx.h.

#define CPLXC ( t,
a,
 )     CPLX__ complex<t> a (c)

Definition at line 26 of file std_cplx.h.

#define CPLXR ( t,
a,
 )     CPLX__ complex<t> a (r)

Definition at line 24 of file std_cplx.h.

#define CPLXRI ( t,
a,
r,
 )     CPLX__ complex<t> a (r,i)

Definition at line 25 of file std_cplx.h.

#define CPLXVRI ( t,
r,
 )     (CPLX__ complex<t>(r,i))

Definition at line 27 of file std_cplx.h.


Generated on Wed Nov 20 09:28:36 2013 for TBCI Numerical high perf. C++ Library by  doxygen 1.5.6