naginterfaces.library.specfun.dawson_vector¶
- naginterfaces.library.specfun.dawson_vector(x)[source]¶
dawson_vector
returns an array of values for Dawson’s Integral, .For full information please refer to the NAG Library document for s15at
https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/s/s15atf.html
- Parameters
- xfloat, array-like, shape
The argument of the function, for .
- Returns
- ffloat, ndarray, shape
, the function values.
- Raises
- NagValueError
- (errno )
On entry, .
Constraint: .
- Notes
dawson_vector
evaluates approximations for Dawson’s Integralfor an array of arguments , for .
The function is based on two Chebyshev expansions:
For ,
For ,
For near zero, , and for large, . These approximations are used for those values of for which the result is correct to machine precision.
- References
NIST Digital Library of Mathematical Functions