OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
TpsWerrf.h
Go to the documentation of this file.
1 #ifndef OPAL_TpsWerrf_HH
2 #define OPAL_TpsWerrf_HH 1
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: TpsWerrf.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Function: double TpsWerrf(double)
13 //
14 // ------------------------------------------------------------------------
15 //
16 // $Date: 2000/03/27 09:33:48 $
17 // $Author: Andreas Adelmann $
18 //
19 // ------------------------------------------------------------------------
20 
21 #include "FixedAlgebra/FTps.h"
22 
23 
25 // The argument is given by two DA variables.
26 // The algorithms is based on:
27 // [center]
28 // Walter Gautschi, Efficient Computation of the Complex Error Function,
29 // [br]
30 // SIAM J. Numer. Anal., Vol 7, No. 1, March 1970, pp. 187-198.
31 // [/center]
32 // The argument is [tt]xx + i*yy[/tt], the result is [tt]wx + i*wy[/tt].
33 
34 extern void TpsWerrf(const FTps<double, 6> &xx, const FTps<double, 6> &yy,
36 
37 #endif
void TpsWerrf(const FTps< double, 6 > &xx, const FTps< double, 6 > &yy, FTps< double, 6 > &wx, FTps< double, 6 > &wy)
Complex error function.
Definition: TpsWerrf.cpp:14