Scilab 6.0.0
Scilabヘルプ >> Elementary Functions > Discrete mathematics > factorial
factorial
階乗関数
呼び出し手順
f = factorial ( n )
パラメータ
- n :
doubleの行列. 値は正の整数である必要があります.
- f :
doubleの行列.
説明
nの階乗,つまり,整数 1 * 2 * ... * nの積を返します.
この関数は n > 170 となるとオーバーフローします.
例
参考文献
Introduction to discrete probabilities, Michael Baudin
Comments
Add a comment:
Please login to comment this page.