|
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 741 of file cplx.h.
References cplx< T >::fabs(), INST, and TBCI__.
Definition at line 816 of file cplx.h.
References cplx< T >::acosh(), INST, and TBCI__.
Referenced by operator<=().
Definition at line 821 of file cplx.h.
References cplx< T >::atan(), INST, and TBCI__.
Definition at line 690 of file cplx.h.
References INST, cplx< T >::norm(), and TBCI__.
Referenced by cplx< T >::acos(), cplx< T >::acosh(), cplx< T >::asin(), cplx< T >::asinh(), cplx< T >::atan(), cplx< T >::atanh(), std::conj(), gamma(), imag(), std::imag(), operator<=(), std::real(), zacai_(), zacon_(), zasyi_(), zbesh_(), zbesi_(), zbesj_(), zbesk_(), and zrati_().
Definition at line 806 of file cplx.h.
References cplx< T >::asinh(), INST, and TBCI__.
Referenced by operator<=().
Definition at line 811 of file cplx.h.
References cplx< T >::acos(), INST, and TBCI__.
Definition at line 826 of file cplx.h.
References cplx< T >::atanh(), INST, and TBCI__.
Referenced by operator<=(), zbknu_(), zlog_(), zsqrt_(), and zunhj_().
|
inline |
Definition at line 786 of file cplx.h.
References cplx< T >::cosh(), INST, and TBCI__.
Referenced by besselj(), bessely(), operator<=(), zacai_(), zacon_(), zasyi_(), zbesh_(), zbesi_(), zbesj_(), zbesy_(), zbknu_(), zexp_(), zkscl_(), zseri_(), zshch_(), zsqrt_(), zunhj_(), zuni1_(), zuni2_(), zunk1_(), zunk2_(), zuoik_(), and zwrsk_().
Definition at line 460 of file cplx.h.
References cplx< T >::ALIGN(), cplx< T >::cos(), MATH__, MIN_ALIGN, pi, REGISTER, cplx< T >::sin(), and T.
Referenced by cplx< T >::exp(), polar(), cplx< T >::power(), sqr(), and cplx< T >::sqrt().
Definition at line 390 of file cplx.h.
References cplx< T >::fabssqr().
Definition at line 771 of file cplx.h.
References INST, cplx< T >::sin(), and TBCI__.
Referenced by arydiv_(), asinh(), basis_trafo(), cgamma_(), conhyp_(), dgamln_(), cplx< T >::ln(), log10(), operator<=(), pow(), cplx< T >::power(), zairy_(), zbesh_(), zbesk_(), zbknu_(), zkscl_(), zlog_(), zs1s2_(), zunhj_(), zuni1_(), zuni2_(), zunik_(), zunk1_(), zunk2_(), and zuoik_().
Definition at line 836 of file cplx.h.
References log(), NAMESPACE_CSTD_END, NAMESPACE_END, NAMESPACE_TBCI, SPEC_TBCI_TRAITS_ALWAYS_COPY(), SPEC_TBCI_TRAITS_LOOP_COPY(), and TBCI__.
Referenced by atanh(), and operator<=().
Definition at line 695 of file cplx.h.
References INST, NAMESPACE_CPLX_END, NAMESPACE_TBCI, polar(), T, and TBCI__.
Referenced by fabssqr(), operator/(), and Vector< T >::operator/().
Definition at line 336 of file cplx.h.
References INST, cplx< T >::mult(), and T.
Definition at line 317 of file cplx.h.
References INST, cplx< T >::plus(), and T.
Referenced by CSCMatrix< T >::do_export(), BdMatrix< T >::operator!=(), Tensor< T >::~Tensor(), and Vector_Sig< T >::~Vector_Sig().
Definition at line 323 of file cplx.h.
References c, cplx< T >::imag(), INST, cplx< T >::minus(), cplx< T >::operator*(), cplx< T >::real(), T, and U.
Referenced by CSCMatrix< T >::do_export(), CRMatrix< T >::operator!=(), BdMatrix< T >::operator!=(), Tensor< T >::~Tensor(), and Vector_Sig< T >::~Vector_Sig().
Definition at line 342 of file cplx.h.
References cplx< T >::div().
Referenced by CSCMatrix< T >::do_export(), FS_Vector< dims, T >::operator!=(), CRMatrix< T >::operator!=(), BdMatrix< T >::operator!=(), TMatrix< T >::TMatrix(), and Vector_Sig< T >::~Vector_Sig().
Definition at line 621 of file cplx.h.
References cplx< T >::im.
Definition at line 627 of file cplx.h.
References cplx< T >::ALIGN(), cplx< T >::conj(), i, cplx< T >::im, INST, MIN_ALIGN, NAMESPACE_CPLX, NAMESPACE_END, T, and TBCI__.
Referenced by cplx< T >::atanh().
|
inline |
Definition at line 706 of file cplx.h.
References cplx< T >::abs(), expi(), i, cplx< T >::im, INST, NAMESPACE_CSTD, NAMESPACE_END, cplx< T >::operator*(), REGISTER, T, and TBCI__.
Referenced by norm().
Definition at line 776 of file cplx.h.
References INST, cplx< T >::sinh(), and TBCI__.
Referenced by besseli(), besselj(), bessely(), conhyp_(), operator<=(), zacai_(), zacon_(), zasyi_(), zbesh_(), zbesi_(), zbesj_(), zbesy_(), zbknu_(), zexp_(), zkscl_(), zseri_(), zshch_(), zsqrt_(), zunhj_(), zuni1_(), zuni2_(), zunk1_(), zunk2_(), zuoik_(), and zwrsk_().
Definition at line 781 of file cplx.h.
References cplx< T >::cos(), INST, and TBCI__.
Referenced by operator<=(), and zshch_().
| NAMESPACE_CSTD_END NAMESPACE_TBCI SPEC_TBCI_TRAITS_LOOP_COPY | ( | TBCI__ cplx< float > | ) |
Referenced by log10().
Definition at line 449 of file cplx.h.
References expi(), cplx< T >::im, cplx< T >::imag(), INST, cplx< T >::real(), REGISTER, T, and TBCI__.
Referenced by cplx< T >::acos(), cplx< T >::acosh(), cplx< T >::asin(), cplx< T >::asinh(), BiCG(), BiCGSTAB(), CGS(), QMR(), and cplx< T >::theta().
|
inline |
Definition at line 751 of file cplx.h.
References cplx< T >::exp(), INST, and TBCI__.
Definition at line 751 of file cplx.h.
References cplx< T >::exp(), INST, and TBCI__.
1.8.11