OPAL (Object Oriented Parallel Accelerator Library)
2022.1
OPAL
src
src
Classic
Utilities
ComplexErrorFun.h
Go to the documentation of this file.
1
#ifndef CLASSIC_ComplexErrorFun_HH
2
#define CLASSIC_ComplexErrorFun_HH
3
4
// ------------------------------------------------------------------------
5
// $RCSfile: ComplexErrorFun.h,v $
6
// ------------------------------------------------------------------------
7
// $Revision: 1.1.1.1 $
8
// ------------------------------------------------------------------------
9
// Copyright: see Copyright.readme
10
// ------------------------------------------------------------------------
11
//
12
// Function: Werrf(complex<double>)
13
//
14
// ------------------------------------------------------------------------
15
// Class category: Utilities
16
// ------------------------------------------------------------------------
17
//
18
// $Date: 2000/03/27 09:32:37 $
19
// $Author: fci $
20
//
21
// ------------------------------------------------------------------------
22
23
#include <complex>
24
25
26
// ------------------------------------------------------------------------
28
// The algorithms is based on:
29
//
30
// Walter Gautschi, Efficient Computation of the Complex Error Function,
31
// [CENTER]
32
// SIAM J. Numer. Anal., Vol 7, No. 1, March 1970, pp. 187-198.
33
// [/CENTER]
34
// Argument: the complex argument,
35
// Return value: the complex value of the error function.
36
37
extern
std::complex<double>
Werrf
(std::complex<double> z);
38
39
#endif
// CLASSIC_ComplexErrorFun_HH
Werrf
std::complex< double > Werrf(std::complex< double > z)
Complex error function.
Definition:
ComplexErrorFun.cpp:32
Generated on Thu Oct 20 2022 17:40:11 for OPAL (Object Oriented Parallel Accelerator Library) by
1.9.3