#include "Faddeeva.h"
#include <float.h>
#include <math.h>
Go to the source code of this file.
Macros | |
#define | _GNU_SOURCE |
#define | C(a, b) ((a) + I*(b)) |
#define | FADDEEVA(name) Faddeeva_ ## name |
#define | FADDEEVA_RE(name) Faddeeva_ ## name ## _re |
#define | Inf (1./0.) |
#define | NaN (0./0.) |
#define | USE_CONTINUED_FRACTION 1 |
Typedefs | |
typedef double complex | cmplx |
Functions | |
static cmplx | cpolar (double r, double t) |
static double | erfcx_y100 (double y100) |
cmplx | Faddeeva_Dawson (cmplx z, double relerr) |
double | Faddeeva_Dawson_re (double x) |
cmplx | Faddeeva_erf (cmplx z, double relerr) |
double | Faddeeva_erf_re (double x) |
cmplx | Faddeeva_erfc (cmplx z, double relerr) |
double | Faddeeva_erfc_re (double x) |
cmplx | Faddeeva_erfcx (cmplx z, double relerr) |
double | Faddeeva_erfcx_re (double x) |
cmplx | Faddeeva_erfi (cmplx z, double relerr) |
double | Faddeeva_erfi_re (double x) |
cmplx | Faddeeva_w (cmplx z, double relerr) |
double | Faddeeva_w_im (double x) |
static double | sinc (double x, double sinx) |
static double | sinh_taylor (double x) |
static double | sqr (double x) |
static double | w_im_y100 (double y100, double x) |
Variables | |
static const double | expa2n2 [] |
#define _GNU_SOURCE |
Definition at line 212 of file Faddeeva.cc.
#define C | ( | a, | |
b | |||
) | ((a) + I*(b)) |
Definition at line 246 of file Faddeeva.cc.
Definition at line 219 of file Faddeeva.cc.
Definition at line 220 of file Faddeeva.cc.
#define Inf (1./0.) |
Definition at line 247 of file Faddeeva.cc.
#define NaN (0./0.) |
Definition at line 248 of file Faddeeva.cc.
#define USE_CONTINUED_FRACTION 1 |
typedef double complex cmplx |
Definition at line 217 of file Faddeeva.cc.
|
inlinestatic |
Definition at line 251 of file Faddeeva.cc.
References C, octave::math::isnan(), and r.
Referenced by Faddeeva_w().
|
static |
Definition at line 1004 of file Faddeeva.cc.
Referenced by Faddeeva_erfcx_re().
Definition at line 465 of file Faddeeva.cc.
References C, Faddeeva::erfcx(), FADDEEVA, FADDEEVA_RE, octave::math::isnan(), NaN, Faddeeva::w(), Faddeeva::w_im(), and x.
double Faddeeva_Dawson_re | ( | double | x | ) |
Definition at line 458 of file Faddeeva.cc.
References FADDEEVA, Faddeeva::w_im(), and x.
Definition at line 303 of file Faddeeva.cc.
References C, Faddeeva::erf(), FADDEEVA, FADDEEVA_RE, Inf, octave::math::isnan(), NaN, Faddeeva::w(), Faddeeva::w_im(), and x.
double Faddeeva_erf_re | ( | double | x | ) |
Definition at line 271 of file Faddeeva.cc.
References Faddeeva::erf(), Faddeeva::erfcx(), FADDEEVA_RE, and x.
Definition at line 424 of file Faddeeva.cc.
References C, Faddeeva::erfcx(), FADDEEVA, FADDEEVA_RE, Inf, Faddeeva::w(), Faddeeva::w_im(), and x.
double Faddeeva_erfc_re | ( | double | x | ) |
Definition at line 409 of file Faddeeva.cc.
References Faddeeva::erfc(), Faddeeva::erfcx(), FADDEEVA_RE, and x.
Definition at line 265 of file Faddeeva.cc.
References C, FADDEEVA, and Faddeeva::w().
double Faddeeva_erfcx_re | ( | double | x | ) |
Definition at line 1413 of file Faddeeva.cc.
References erfcx_y100(), and x.
Definition at line 395 of file Faddeeva.cc.
References C, Faddeeva::erf(), and FADDEEVA.
double Faddeeva_erfi_re | ( | double | x | ) |
Definition at line 402 of file Faddeeva.cc.
References FADDEEVA, Inf, Faddeeva::w_im(), and x.
Definition at line 671 of file Faddeeva.cc.
References a2, C, octave::math::copysign(), cpolar(), Faddeeva::erfcx(), expa2n2, FADDEEVA, FADDEEVA_RE, octave::math::floor(), octave::math::isinf(), octave::math::isnan(), n, NaN, octave::math::pi, sinc(), sinh_taylor(), sqr(), Faddeeva::w_im(), octave::wi, and x.
double Faddeeva_w_im | ( | double | x | ) |
Definition at line 1855 of file Faddeeva.cc.
References w_im_y100(), and x.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
Definition at line 614 of file Faddeeva.cc.
Referenced by Faddeeva_w().