Computes the factorial through a recursive algorithm.
A positive input value.
Returns the computed factorial.
If n is less than 0.
Examples
>>> pathpy.factorial(1) 1
previous
API reference
next
pathpy.InvalidFactorialError