next up previous contents
Next: ERFC Complimentary Error Function Up: Special Functions Previous: EONE Exponential Integral Function   Contents

Subsections

DAWSON Dawson Integral Function

Usage

Computes the dawson function for real arguments. The dawson function takes only a single argument

  y = dawson(x)

where x is either a float or double array. The output vector y is the same size (and type) as x.

Function Internals

The dawson function is defined as

$\displaystyle \mathrm{dawson}(x) = e^{-x^2} \int_{0}^{x} e^{t^2}   dt
$

Example

Here is a plot of the dawson function over the range [-5,5].

--> x = linspace(-5,5);
--> y = dawson(x);
--> plot(x,y); xlabel('x'); ylabel('dawson(x)');

which results in the following plot.

2833



2004-10-27