Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
stats
v0.3.0
Enumerable
Math
Angle
Correlation
Factorial
Frequency
MACD
Mean
Median
Quartile
StandardDeviation
Number
Stats
BinomialDistribution
NormaleDistribution
Persistant
Generated using Crystal 1.14.0
2024-11-26 19:01:27 UTC
module
Math::
Factorial
Direct including types
Math
Defined in:
lib/math/factorial.cr
Instance Method Summary
#factorial
(n : Number)
A factorial(N) = 1x2x3x...xN
Instance Method Detail
def
factorial
(n :
Number
)
#
A factorial(N) = 1x2x3x...xN
[
View source
]