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

Go to the source code of this file.
Namespaces | |
| namespace | TBCI |
| namespace | std |
Classes | |
| class | TBCI::hcplx |
| helper class idea: use builtin class whereever possible More... | |
Defines | |
| #define | CTYP double |
| #define | CPLX(t) cplx_t |
| #define | CPLXR(t, a, r) cplx_t a (r) |
| #define | CPLXRI(t, a, r, i) cplx_t a; __real__ a = (r); __imag__ a = (i) |
| #define | CPLXC(t, a, c) cplx_t a (c) |
| #define | CPLXVRI(t, r, m) ((cplx_t) ((r) + (m) * 1.0i)) |
| #define | USE_BUILTIN_CPLX 1 |
Typedefs | |
| typedef double | TBCI::cplx_base |
| typedef __complex__ double | TBCI::cplx_t |
Functions | |
| double | TBCI::fabssqr (const cplx_t &a) |
| double | TBCI::fabssqr (const TBCI::hcplx &c) |
| double | std::fabs (const TBCI::cplx_t &a) |
| TBCI::cplx_base | std::abs (const TBCI::cplx_t &a) |
| double | std::fabs (const TBCI::hcplx &c) |
| TBCI::cplx_base | std::real (const TBCI::hcplx &c) |
| TBCI::cplx_base | std::imag (const TBCI::hcplx &c) |
| TBCI::cplx_base & | std::real (const TBCI::cplx_t &c) |
| TBCI::cplx_base & | std::imag (const TBCI::cplx_t &c) |
| TBCI::cplx_t | std::conj (const TBCI::cplx_t &c) |
| cplx_t | TBCI::dot (const cplx_t a, const cplx_t b) |
| bool | TBCI::operator<= (const hcplx &a, const hcplx &b) |
| bool | TBCI::operator< (const hcplx &a, const hcplx &b) |
| bool | TBCI::operator>= (const hcplx &a, const hcplx &b) |
| bool | TBCI::operator> (const hcplx &a, const hcplx &b) |
| bool | TBCI::operator<= (const hcplx &a, const cplx_t &b) |
| bool | TBCI::operator< (const hcplx &a, const cplx_t &b) |
| bool | TBCI::operator>= (const hcplx &a, const cplx_t &b) |
| bool | TBCI::operator> (const hcplx &a, const cplx_t &b) |
| bool | TBCI::operator<= (const cplx_t &a, const hcplx &b) |
| bool | TBCI::operator< (const cplx_t &a, const hcplx &b) |
| bool | TBCI::operator>= (const cplx_t &a, const hcplx &b) |
| bool | TBCI::operator> (const cplx_t &a, const hcplx &b) |
| std::ostream & | TBCI::operator<< (std::ostream &os, const cplx_t &c) |
| std::istream & | TBCI::operator>> (std::istream &in, cplx_t &c) |
| cplx_base | TBCI::polar (const cplx_t &c) |
| cplx_t | TBCI::expi (const cplx_base phi) |
| cplx_t | TBCI::sqr (const cplx_t &c) |
| TBCI::cplx_t | std::exp (const TBCI::cplx_t &z) |
| TBCI::cplx_t | std::sqrt (const TBCI::cplx_t &c) |
Definition in file builtin_cplx.h.
| #define CPLX | ( | t | ) | cplx_t |
Definition at line 32 of file builtin_cplx.h.
| #define CPLXC | ( | t, | |||
| a, | |||||
| c | ) | cplx_t a (c) |
Definition at line 35 of file builtin_cplx.h.
| #define CPLXR | ( | t, | |||
| a, | |||||
| r | ) | cplx_t a (r) |
Definition at line 33 of file builtin_cplx.h.
| #define CPLXRI | ( | t, | |||
| a, | |||||
| r, | |||||
| i | ) | cplx_t a; __real__ a = (r); __imag__ a = (i) |
Definition at line 34 of file builtin_cplx.h.
| #define CPLXVRI | ( | t, | |||
| r, | |||||
| m | ) | ((cplx_t) ((r) + (m) * 1.0i)) |
Definition at line 36 of file builtin_cplx.h.
| #define CTYP double |
Definition at line 23 of file builtin_cplx.h.
| #define USE_BUILTIN_CPLX 1 |
Definition at line 40 of file builtin_cplx.h.
1.5.6