math.erf
code:Lua
y = textmodule.math.erf(x)
モジュール
math
引数
table:_
変数 型 概要
1 x number 処理する数値
返り値
table:_
変数 型 概要
1 y number 処理された数値
概要
xの誤差関数を求める。
$ y=erf{(x)}=\frac{2}{\sqrt{π}}\int_{0}^{x}e^{-t^2}dt