<< beta Special Functions dlgamma >>

Scilab help >> Special Functions > calerf

calerf

誤差関数を計算する.

パラメータ

x

実数ベクトルまたは行列

flag

整数インジケータ

y

(xと同じ大きさの)実数ベクトルまたは行列

説明

calerf(x,0) は誤差関数 erf(x)を計算します

calerf(x,1) は相補誤差関数 ferfc(x)を計算します

calerf(x,2) はスケーリング付き相補誤差関数 erfcx(x)を計算します

例

deff('y=f(t)','y=exp(-t^2)');
calerf(1,0)
2/sqrt(%pi)*intg(0,1,f)

S参照

作者

W. J. Cody (code from Netlib (specfun))

<< beta Special Functions dlgamma >>