|
TBCI Numerical high perf. C++ Library
2.8.0
|
Rich implementation of complex numbers TBCI::cplx. More...

Go to the source code of this file.
Classes | |
| class | cplx< T > |
| Our own complex class. More... | |
| class | cplx< T > |
| Our own complex class. More... | |
Macros | |
| #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 > | |
| NAMESPACE_END NAMESPACE_CSTD TBCI__ cplx< T > | sqrt (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| cplx< T > | dot (const cplx< T > &a, const cplx< T > &b) |
| template<typename T > | |
| cplx< T > | operator+ (const T a, const cplx< T > &b) |
| template<typename T > | |
| cplx< T > | operator- (const T a, const cplx< T > &b) |
| template<typename T > | |
| cplx< T > | operator* (const T a, const cplx< T > &b) |
| template<typename T > | |
| cplx< T > | operator/ (const T a, const cplx< T > &b) |
| template<typename T > | |
| double | fabssqr (const cplx< T > &c) |
| template<typename T > | |
| cplx< T > | sqr (const cplx< T > &c) |
| template<typename T > | |
| cplx< T > | expi (const T phi) |
| template<typename T > | |
| STD__ ostream & | operator<< (STD__ ostream &os, const cplx< T > &c) |
| template<typename T > | |
| STD__ istream & | operator>> (STD__ istream &in, cplx< T > &c) |
| template<typename T > | |
| NAMESPACE_END NAMESPACE_CPLX TBCI__ cplx< T > | conj (const TBCI__ cplx< T > &c) |
| template<typename T > | |
| T | real (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| T | imag (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| T & | real (TBCI__ cplx< T > &z) |
| template<typename T > | |
| T & | imag (TBCI__ cplx< T > &z) |
| template<typename T > | |
| T | arg (const TBCI__ cplx< T > &c) |
| template<typename T > | |
| double | norm (const TBCI__ cplx< T > &c) |
| template<typename T > | |
| NAMESPACE_CPLX_END NAMESPACE_TBCI TBCI__ cplx< T > | polar (const T &r, const T &p) |
| template<typename T > | |
| NAMESPACE_END NAMESPACE_CSTD T | abs (const TBCI__ cplx< T > &c) |
| template<typename T > | |
| double | fabs (const TBCI__ cplx< T > &c) |
| template<typename T > | |
| TBCI__ cplx< T > | sqrt (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| TBCI__ cplx< T > | exp (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| TBCI__ cplx< T > | pow (const TBCI__ cplx< T > &z, const double n) |
| template<typename T > | |
| TBCI__ cplx< T > | pow (const TBCI__ cplx< T > &z, const TBCI__ cplx< T > &x) |
| template<typename T > | |
| TBCI__ cplx< T > | log (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| TBCI__ cplx< T > | sin (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| TBCI__ cplx< T > | sinh (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| TBCI__ cplx< T > | cos (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| TBCI__ cplx< T > | cosh (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| TBCI__ cplx< T > | tan (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| TBCI__ cplx< T > | tanh (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| TBCI__ cplx< T > | asin (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| TBCI__ cplx< T > | asinh (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| TBCI__ cplx< T > | acos (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| TBCI__ cplx< T > | acosh (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| TBCI__ cplx< T > | atan (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| TBCI__ cplx< T > | atanh (const TBCI__ cplx< T > &z) |
| template<typename T > | |
| TBCI__ cplx< T > | log10 (const TBCI__ cplx< T > &z) |
| NAMESPACE_CSTD_END NAMESPACE_TBCI | SPEC_TBCI_TRAITS_LOOP_COPY (TBCI__ cplx< float >) |
| SPEC_TBCI_TRAITS_LOOP_COPY (TBCI__ cplx< double >) | |
| SPEC_TBCI_TRAITS_ALWAYS_COPY (TBCI__ cplx< float > *) | |
| SPEC_TBCI_TRAITS_ALWAYS_COPY (TBCI__ cplx< double > *) | |
Rich implementation of complex numbers TBCI::cplx.
Definition in file cplx.h.
|
inline |
Definition at line 690 of file cplx.h.
Referenced by cplx< T >::acos(), cplx< T >::acosh(), cplx< T >::asin(), cplx< T >::asinh(), cplx< T >::atan(), cplx< T >::atanh(), std::conj(), for(), gamma(), lev_mar(), LM_fit_2D(), std::real(), zacai_(), zacon_(), zasyi_(), zbesh_(), zbesi_(), zbesj_(), zbesk_(), and zrati_().
|
inline |
Definition at line 300 of file cplx.h.
References cplx< T >::im.
Definition at line 756 of file cplx.h.
Referenced by bernoulli(), besselh1(), besselh2(), chi_s(), cplx< T >::cos(), cplx< T >::cosh(), erfc3(), cplx< T >::exp(), poisson(), cplx< T >::power(), cplx< T >::sin(), cplx< T >::sinh(), zbesy_(), zbknu_(), zexp_(), zkscl_(), zmlri_(), zseri_(), zuni1_(), zuni2_(), zunk1_(), zunk2_(), and zuoik_().
Definition at line 460 of file cplx.h.
References ALIGN, cos(), MATH__, MIN_ALIGN, pi, REGISTER, sin(), and T.
Referenced by cplx< T >::exp(), polar(), cplx< T >::power(), and cplx< T >::sqrt().
Definition at line 390 of file cplx.h.
References cplx< T >::fabssqr().
Definition at line 771 of file cplx.h.
Referenced by arydiv_(), asinh(), basis_trafo(), cgamma_(), conhyp_(), dgamln_(), cplx< T >::ln(), log10(), cplx< T >::power(), zairy_(), zbesh_(), zbesk_(), zbknu_(), zkscl_(), zlog_(), zs1s2_(), zunhj_(), zuni1_(), zuni2_(), zunik_(), zunk1_(), zunk2_(), and zuoik_().
Definition at line 695 of file cplx.h.
Referenced by operator/(), and Vector< T >::operator/().
Definition at line 336 of file cplx.h.
References cplx< T >::mult().
Definition at line 317 of file cplx.h.
References cplx< T >::plus().
Definition at line 323 of file cplx.h.
References cplx< T >::minus().
Definition at line 342 of file cplx.h.
References cplx< T >::div().
Definition at line 621 of file cplx.h.
References cplx< T >::im.
|
inline |
Definition at line 776 of file cplx.h.
Referenced by besseli(), besselj(), bessely(), conhyp_(), expi(), zacai_(), zacon_(), zasyi_(), zbesh_(), zbesi_(), zbesj_(), zbesy_(), zbknu_(), zexp_(), zkscl_(), zseri_(), zshch_(), zsqrt_(), zunhj_(), zuni1_(), zuni2_(), zunk1_(), zunk2_(), zuoik_(), and zwrsk_().
| NAMESPACE_CSTD_END NAMESPACE_TBCI SPEC_TBCI_TRAITS_LOOP_COPY | ( | TBCI__ cplx< float > | ) |
Definition at line 449 of file cplx.h.
References cplx< T >::im, cplx< T >::imag(), cplx< T >::real(), REGISTER, and T.
Referenced by cplx< T >::acos(), cplx< T >::acosh(), cplx< T >::asin(), cplx< T >::asinh(), BiCG(), BiCGSTAB(), CGS(), Chisq(), chisq(), for(), and QMR().
|
inline |
1.8.5