Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
real.cpp File Reference
#include <cmath>
#include <cassert>
#include "consts.h"
#include "real.h"

Go to the source code of this file.

Namespaces

 qucs
 

Functions

nr_double_t qucs::cos (const nr_double_t arg)
 Compute cosine of an angle. More...
 
nr_double_t qucs::sin (const nr_double_t arg)
 Compute sine of an angle. More...
 
nr_double_t qucs::tan (const nr_double_t arg)
 Compute tangent of an angle. More...
 
nr_double_t qucs::acos (const nr_double_t arg)
 Compute arc cosine. More...
 
nr_double_t qucs::asin (const nr_double_t arg)
 Compute arc sine. More...
 
nr_double_t qucs::atan (const nr_double_t arg)
 Compute arc tangent. More...
 
nr_double_t qucs::atan2 (const nr_double_t x, const nr_double_t y)
 Compute arc tangent with two parameters (fortran like function) More...
 
nr_double_t qucs::cosh (const nr_double_t arg)
 Compute hyperbolic cosine. More...
 
nr_double_t qucs::sinh (const nr_double_t arg)
 Compute hyperbolic sine. More...
 
nr_double_t qucs::tanh (const nr_double_t arg)
 Compute hyperbolic tangent. More...
 
nr_double_t qucs::acosh (const nr_double_t arg)
 Compute arc hyperbolic cosine. More...
 
nr_double_t qucs::asinh (const nr_double_t arg)
 Compute arc hyperbolic sine. More...
 
nr_double_t qucs::atanh (const nr_double_t arg)
 Compute arc hyperbolic tangent. More...
 
nr_double_t qucs::exp (const nr_double_t arg)
 
nr_double_t qucs::log (const nr_double_t arg)
 
nr_double_t qucs::log10 (const nr_double_t arg)
 
nr_double_t qucs::pow (const nr_double_t a, const nr_double_t b)
 
nr_double_t qucs::sqrt (const nr_double_t d)
 
nr_double_t qucs::xhypot (const nr_double_t a, const nr_double_t b)
 Euclidean distance function. More...
 
nr_double_t qucs::erf (nr_double_t arg)
 
nr_double_t qucs::ceil (nr_double_t arg)
 
nr_double_t qucs::floor (nr_double_t arg)
 
nr_double_t qucs::fmod (nr_double_t arg)
 
nr_double_t qucs::trunc (nr_double_t arg)
 
nr_double_t qucs::round (nr_double_t arg)
 
nr_double_t qucs::coth (const nr_double_t d)
 
nr_double_t qucs::sech (const nr_double_t d)
 
nr_double_t qucs::cosech (const nr_double_t d)
 
nr_double_t qucs::sqr (const nr_double_t r)
 Square a value. More...
 
unsigned int qucs::sqr (unsigned int r)
 
nr_double_t qucs::quadr (const nr_double_t r)
 Quartic function. More...
 
nr_double_t qucs::limexp (const nr_double_t r)
 Compute limited exponential. More...
 
nr_double_t qucs::signum (const nr_double_t d)
 real signum function More...
 
nr_double_t qucs::sign (const nr_double_t d)
 real sign function More...
 
nr_double_t qucs::sinc (const nr_double_t d)
 Real cardinal sinus. More...
 
nr_double_t qucs::fix (const nr_double_t d)
 Fix function. More...
 
nr_double_t qucs::step (const nr_double_t d)
 Heaviside step function. More...
 
unsigned int qucs::factorial (unsigned int n)
 Compute factorial n ie $n!$. More...
 
nr_double_t qucs::real (const nr_double_t r)
 Real part of real number. More...
 
nr_double_t qucs::imag (const nr_double_t r)
 Imaginary part of complex number. More...
 
nr_double_t qucs::norm (const nr_double_t r)
 Compute euclidian norm of real number. More...
 
nr_double_t qucs::abs (const nr_double_t r)
 Compute complex modulus of real number. More...
 
nr_double_t qucs::conj (const nr_double_t r)
 Conjugate of real number. More...