﻿功能:Dawson函数积分

格式:DawsonIntegral(x)

说明:本函数等价于求{Exp<算式解析\exp>}(-x^2)*Int({Exp<算式解析\exp>}(y^2),0,x),其中Int({Exp<算式解析\exp>}(y^2),0,x)表示对函数{Exp<算式解析\exp>}(y^2)中的变量y从0到x积分.其实DawsonIntegral(x)={Erfi<算式解析\Erfi>}(x)*π^0.5/(2*{Exp<算式解析\exp>}(x^2))

参考:{Dawson's Integral<http://mathworld.wolfram.com/DawsonsIntegral.html>}

例子:

DawsonIntegral(3+2.123456i)//回车后得到如下结果
ans = 0.110809927265895 - 0.0735810387656236i