File: erfcx.pod

package info (click to toggle)
libcerf 3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 760 kB
  • sloc: ansic: 4,905; f90: 250; makefile: 18
file content (69 lines) | stat: -rw-r--r-- 1,840 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
=pod

=begin html

<link rel="stylesheet" href="podstyle.css" type="text/css" />

=end html

=head1 NAME

cerfcx, erfcx - underflow-compensated complementary error function

=head1 SYNOPSIS

B<#include <cerf.h>>

B<double _Complex cerfcx ( double _Complex z );>

B<double          erfcx  ( double x );>


=head1 DESCRIPTION

The function B<cerfcx> is an underflow-compensated variant of the complex error function: erfcx(z) = exp(z^2) erfc(z).

The function B<erfcx> takes a real argument and returns a real result.

=head1 REFERENCES

The implementation of B<cerfcx> is a thin wrapper around Faddeeva's
function B<w_of_z>.

The implementation of B<erfcx> is self-contained. It has been entirely rewritten
for libcerf-2.5, and now guarantees a relative accuracy of 2.34e-16 for x < 12.

The piecewise polynomial approximation for intermediate values of |x| is explained
in Wuttke and Kleinknecht, "Code generation for piecewise Chebyshev approximation"
(submitted; preprint available from the authors).

=head1 SEE ALSO

Related complex error functions in liberfc:
B<w_of_z>(3), B<dawson>(3), B<voigt>(3), B<cerf>(3), B<erfi>(3).

The real error function comes with recent versions of glibc, as requested by the C99 standard:
B<erf>(3)

Homepage: http://apps.jcns.fz-juelich.de/libcerf

=head1 AUTHORS

Steven G. Johnson, http://math.mit.edu/~stevenj,
  Massachusetts Institute of Technology,
  researched the numerics, and implemented the Faddeeva function.

Joachim Wuttke <j.wuttke@fz-juelich.de>, Forschungszentrum Juelich,
  reorganized the code into a library, and wrote this man page.

Please report bugs to the authors.

=head1 COPYING

Copyright (c) 2012 Massachusetts Institute of Technology

Copyright (c) 2013 Forschungszentrum Juelich GmbH

Software: MIT License.

This documentation: Creative Commons Attribution Share Alike.