Qucs-core  0.0.19
Namespaces | Typedefs | Functions
complex.h File Reference
#include <complex>
#include "real.h"
Include dependency graph for complex.h:

Go to the source code of this file.

Namespaces

namespace  qucs

Typedefs

typedef std::complex< nr_double_tnr_complex_t

Functions

nr_complex_t qucs::cos (const nr_complex_t z)
 Compute complex cosine.
nr_complex_t qucs::sin (const nr_complex_t z)
 Compute complex sine.
nr_complex_t qucs::tan (const nr_complex_t z)
 Compute complex tangent.
nr_complex_t qucs::acos (const nr_complex_t z)
 Compute complex arc cosine.
nr_complex_t qucs::asin (const nr_complex_t z)
 Compute complex arc sine.
nr_complex_t qucs::atan (const nr_complex_t z)
 Compute complex arc tangent.
nr_complex_t qucs::cosh (const nr_complex_t z)
 Compute complex hyperbolic cosine.
nr_complex_t qucs::sinh (const nr_complex_t z)
 Compute complex hyperbolic sine.
nr_complex_t qucs::tanh (const nr_complex_t z)
 Compute complex hyperbolic tangent.
nr_complex_t qucs::acosh (const nr_complex_t z)
 Compute complex arc hyperbolic cosine.
nr_complex_t qucs::asinh (const nr_complex_t z)
 Compute complex arc hyperbolic sine.
nr_complex_t qucs::atanh (const nr_complex_t z)
 Compute complex arc hyperbolic tangent.
nr_complex_t qucs::exp (const nr_complex_t z)
 Compute complex exponential.
nr_complex_t qucs::log (const nr_complex_t z)
 Compute principal value of natural logarithm of z.
nr_complex_t qucs::log10 (const nr_complex_t z)
 Compute principal value of decimal logarithm of z.
nr_complex_t qucs::pow (const nr_complex_t z, const nr_double_t d)
 Compute power function with real exponent.
nr_complex_t qucs::pow (const nr_double_t d, const nr_complex_t z)
 Compute power function with complex exponent but real mantisse.
nr_complex_t qucs::pow (const nr_complex_t z1, const nr_complex_t z2)
 Compute complex power function.
nr_complex_t qucs::sqrt (const nr_complex_t z)
 Compute principal value of square root.
nr_double_t qucs::norm (const nr_complex_t z)
 Compute euclidian norm of complex number.
nr_complex_t qucs::cot (const nr_complex_t z)
 Compute complex cotangent.
nr_complex_t qucs::acot (const nr_complex_t z)
 Compute complex arc cotangent.
nr_complex_t qucs::coth (const nr_complex_t z)
 Compute complex hyperbolic cotangent.
nr_complex_t qucs::acoth (const nr_complex_t z)
 Compute complex argument hyperbolic cotangent.
nr_complex_t qucs::sech (const nr_complex_t z)
 Compute complex hyperbolic secant.
nr_complex_t qucs::asech (const nr_complex_t z)
 Compute complex argument hyperbolic secant.
nr_complex_t qucs::cosech (const nr_complex_t z)
 Compute complex argument hyperbolic cosec.
nr_complex_t qucs::atan2 (const nr_complex_t y, const nr_complex_t x)
 Compute complex arc tangent fortran like function.
nr_complex_t qucs::log2 (const nr_complex_t z)
 Compute principal value of binary logarithm of z.
nr_complex_t qucs::signum (const nr_complex_t z)
 complex signum function
nr_complex_t qucs::sign (const nr_complex_t z)
 complex sign function
nr_complex_t qucs::sinc (const nr_complex_t z)
 Cardinal sine.
nr_double_t qucs::xhypot (const nr_complex_t a, const nr_complex_t b)
 Euclidean distance function for complex argument.
nr_double_t qucs::xhypot (nr_double_t a, nr_complex_t b)
 Euclidean distance function for a double b complex.
nr_double_t qucs::xhypot (nr_complex_t a, nr_double_t b)
 Euclidean distance function for b double a complex.
nr_complex_t qucs::round (const nr_complex_t z)
 Complex round Round is the nearest integral value Apply round to real and imaginary part.
nr_complex_t qucs::trunc (const nr_complex_t z)
 Complex trunc Apply round to integer, towards zero to real and imaginary part.
nr_double_t qucs::dB (const nr_complex_t z)
 Magnitude in dB Compute $10\log_{10} |z|^2=20\log_{10} |z|$.
nr_complex_t qucs::limexp (const nr_complex_t z)
 Compute limited complex exponential.
nr_complex_t qucs::polar (const nr_double_t mag, const nr_double_t ang)
 Construct a complex number using polar notation.
nr_complex_t qucs::polar (const nr_complex_t a, const nr_complex_t p)
 Extension of polar construction to complex.
nr_complex_t qucs::ztor (const nr_complex_t z, nr_complex_t zref)
 Converts impedance to reflexion coefficient.
nr_complex_t qucs::rtoz (const nr_complex_t r, nr_complex_t zref)
 Converts reflexion coefficient to impedance.
nr_complex_t qucs::ytor (const nr_complex_t y, nr_complex_t zref)
 Converts admittance to reflexion coefficient.
nr_complex_t qucs::rtoy (const nr_complex_t r, nr_complex_t zref)
 Converts reflexion coefficient to admittance.
nr_complex_t qucs::floor (const nr_complex_t z)
 Complex floor.
nr_complex_t qucs::ceil (const nr_complex_t z)
 Complex ceil Ceil is the smallest integral value not less than argument Apply ceil to real and imaginary part.
nr_complex_t qucs::fix (const nr_complex_t z)
 Complex fix.
nr_complex_t qucs::fmod (const nr_complex_t x, const nr_complex_t y)
 Complex fmod Apply fmod to the complex z.
nr_complex_t qucs::sqr (const nr_complex_t z)
 Square of complex number.
nr_complex_t qucs::step (const nr_complex_t z)
 Heaviside step function for complex number.
nr_complex_t qucs::jn (const int n, const nr_complex_t z)
 Bessel function of first kind.
nr_complex_t qucs::yn (const int n, const nr_complex_t z)
 Bessel function of second kind.
nr_complex_t qucs::i0 (const nr_complex_t z)
 Modified Bessel function of first kind.
nr_complex_t qucs::erf (const nr_complex_t z)
 Error function.
nr_complex_t qucs::erfc (const nr_complex_t z)
 Complementart error function.
nr_complex_t qucs::erfinv (const nr_complex_t z)
 Inverse of error function.
nr_complex_t qucs::erfcinv (const nr_complex_t z)
 Inverse of complementart error function.
nr_double_t qucs::rad2deg (const nr_complex_t x)
 rad2deg Convert radian to degree
nr_double_t qucs::deg2rad (const nr_complex_t x)
 rad2deg Convert radian to degree
nr_complex_t qucs::operator% (const nr_complex_t z1, const nr_complex_t z2)
 Modulo.
nr_complex_t qucs::operator% (const nr_complex_t z1, const nr_double_t r2)
 Modulo.
nr_complex_t qucs::operator% (const nr_double_t r1, const nr_complex_t z2)
 Modulo.
bool qucs::operator== (const nr_complex_t z1, const nr_complex_t z2)
 Equality of two complex.
bool qucs::operator!= (const nr_complex_t z1, const nr_complex_t z2)
 Inequality of two complex.
bool qucs::operator>= (const nr_complex_t z1, const nr_complex_t z2)
 Superior of equal.
bool qucs::operator<= (const nr_complex_t z1, const nr_complex_t z2)
 Inferior of equal.
bool qucs::operator> (const nr_complex_t z1, const nr_complex_t z2)
 Superior.
bool qucs::operator< (const nr_complex_t z1, const nr_complex_t z2)
 Inferior.

Typedef Documentation

typedef std::complex<nr_double_t> nr_complex_t

Definition at line 31 of file complex.h.