org.mklab.tool.matrix
クラス Erf
java.lang.Object
org.mklab.tool.matrix.Erf
public class Erf
- extends Object
誤差関数を計算するクラスです。
Error function
- バージョン:
- $Revision: 1.21 $
- 作成者:
- koga
- 関連項目:
Gammac
,
Gammaf
,
Gammai
,
Inverf
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Erf
public Erf()
erf
public static Matrix erf(NumericalMatrixOperator<?> x1_)
- ベクトル
x
の成分の誤差関数を計算します。
誤差関数は、正規分布の確率分布関数を 0
からX
まで積分した
erf(x) = 2/sqrt(PI) integral(0,x) exp(-tˆ2)
です。
- パラメータ:
x1_
- データ
- 戻り値:
- 誤差関数 (error function)
erf
public static Matrix erf(NumericalMatrixOperator<?> x1_,
NumericalMatrixOperator<?> x2_)
x1
からx2
まで積分した誤差関数
erf(x1,x2) = 2/sqrt(PI) integral(x1,x2) exp(-tˆ2)
の値を返します。 x1
とx2
が行列の場合、全ての成分について 関数が評価されます。
- パラメータ:
x1_
- データ1x2_
- データ2
- 戻り値:
- 誤差関数 (error function)