cplx.h File Reference

Rich implementation of complex numbers TBCI::cplx. More...

#include "basics.h"
#include "constants.h"
#include "cplx_memalloc.h"

Include dependency graph for 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::cplx< T >
 Our own complex class. More...
class  TBCI::tbci_traits< TBCI::cplx< float > >
class  TBCI::tbci_traits< TBCI::cplx< double > >
class  TBCI::tbci_traits< TBCI::cplx< float > * >
class  TBCI::tbci_traits< TBCI::cplx< double > * >

Defines

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

Functions

template<typename T>
TBCI::cplx< T > std::sqrt (const TBCI::cplx< T > &z)
template<typename T>
cplx< T > TBCI::dot (const cplx< T > &a, const cplx< T > &b)
template<typename T>
cplx< T > TBCI::operator+ (const T a, const cplx< T > &b)
template<typename T>
cplx< T > TBCI::operator- (const T a, const cplx< T > &b)
template<typename T>
cplx< T > TBCI::operator* (const T a, const cplx< T > &b)
template<typename T>
cplx< T > TBCI::operator/ (const T a, const cplx< T > &b)
template<typename T>
double TBCI::fabssqr (const cplx< T > &c)
template<typename T>
cplx< T > TBCI::sqr (const cplx< T > &c)
template<typename T>
cplx< T > TBCI::expi (const T phi)
template<typename T>
std::ostream & TBCI::operator<< (std::ostream &os, const cplx< T > &c)
template<typename T>
std::istream & TBCI::operator>> (std::istream &in, cplx< T > &c)
template<typename T>
TBCI::cplx< T > std::conj (const TBCI::cplx< T > &c)
template<typename T>
std::real (const TBCI::cplx< T > &z)
template<typename T>
std::imag (const TBCI::cplx< T > &z)
template<typename T>
T & std::real (TBCI::cplx< T > &z)
template<typename T>
T & std::imag (TBCI::cplx< T > &z)
template<typename T>
std::arg (const TBCI::cplx< T > &c)
template<typename T>
double std::norm (const TBCI::cplx< T > &c)
template<typename T>
TBCI::cplx< T > TBCI::polar (const T &r, const T &p)
template<typename T>
std::abs (const TBCI::cplx< T > &c)
template<typename T>
double std::fabs (const TBCI::cplx< T > &c)
template<typename T>
TBCI::cplx< T > std::exp (const TBCI::cplx< T > &z)
template<typename T>
TBCI::cplx< T > std::pow (const TBCI::cplx< T > &z, const double n)
template<typename T>
TBCI::cplx< T > std::pow (const TBCI::cplx< T > &z, const TBCI::cplx< T > &x)
template<typename T>
TBCI::cplx< T > std::log (const TBCI::cplx< T > &z)
template<typename T>
TBCI::cplx< T > std::sin (const TBCI::cplx< T > &z)
template<typename T>
TBCI::cplx< T > std::sinh (const TBCI::cplx< T > &z)
template<typename T>
TBCI::cplx< T > std::cos (const TBCI::cplx< T > &z)
template<typename T>
TBCI::cplx< T > std::cosh (const TBCI::cplx< T > &z)
template<typename T>
TBCI::cplx< T > std::tan (const TBCI::cplx< T > &z)
template<typename T>
TBCI::cplx< T > std::tanh (const TBCI::cplx< T > &z)
template<typename T>
TBCI::cplx< T > std::asin (const TBCI::cplx< T > &z)
template<typename T>
TBCI::cplx< T > std::asinh (const TBCI::cplx< T > &z)
template<typename T>
TBCI::cplx< T > std::acos (const TBCI::cplx< T > &z)
template<typename T>
TBCI::cplx< T > std::acosh (const TBCI::cplx< T > &z)
template<typename T>
TBCI::cplx< T > std::atan (const TBCI::cplx< T > &z)
template<typename T>
TBCI::cplx< T > std::atanh (const TBCI::cplx< T > &z)
template<typename T>
TBCI::cplx< T > std::log10 (const TBCI::cplx< T > &z)


Detailed Description

Rich implementation of complex numbers TBCI::cplx.

Definition in file cplx.h.


Define Documentation

#define CPLX (  )     cplx<t>

Definition at line 31 of file cplx.h.

#define CPLXC ( t,
a,
 )     cplx<t> a (c)

Definition at line 34 of file cplx.h.

#define CPLXR ( t,
a,
 )     cplx<t> a (r)

Definition at line 32 of file cplx.h.

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

Definition at line 33 of file cplx.h.

#define CPLXVRI ( t,
r,
 )     (cplx<t>(r,i))

Definition at line 35 of file cplx.h.


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