numerix_doc 0.4
|
#include <complex.hpp>
Definition at line 34 of file complex.hpp.
complex | ( | ) | [inline] |
Definition at line 40 of file complex.hpp.
{}
Definition at line 41 of file complex.hpp.
: re (get_sample (fm)), im (get_sample (fm)) {}
complex | ( | const T & | x | ) | [inline] |
Definition at line 43 of file complex.hpp.
: re (as<C> (x)), im (0) {}
Definition at line 45 of file complex.hpp.
complex | ( | const XT & | x, |
const YT & | y | ||
) | [inline] |
Definition at line 48 of file complex.hpp.
: re (x), im (y) {}
Definition at line 374 of file complex.hpp.
{ re *= x; im *= x; return *this; }
Definition at line 388 of file complex.hpp.
References mmx::C.
{ C RE= re, zRE= z.re; re= re * z.re - im * z.im; im= RE * z.im + im * zRE; return *this; }
Definition at line 360 of file complex.hpp.
{ re += z.re; im += z.im; return *this; }
Definition at line 367 of file complex.hpp.
{ re -= z.re; im -= z.im; return *this; }
Definition at line 381 of file complex.hpp.
{ re /= x; im /= x; return *this; }
Definition at line 396 of file complex.hpp.
References mmx::C, and mmx::norm().
Definition at line 629 of file complex.hpp.
{ incexp2_assign (re, shift); incexp2_assign (im, shift); return *this; }
Definition at line 636 of file complex.hpp.
{ decexp2_assign (re, shift); decexp2_assign (im, shift); return *this; }