Hi all,
I am trying to write a code for my ILP. I need to use a factorial function like this: factorial(n) = n*(n-1)*...*1.
What is the best possible method to implement this? There are several library functions for sin, cos etc., but, can't find one for the factorial.
Thanks,
Sourav