- Joined
- 1/9/07
- Messages
- 32
- Points
- 16
How does one represent n! in C++?
There's got to be a more direct way than creating a loop.
If it's relavant to the answer, I am creating templates for calculating probability density functions. I am aware that I can calculate these in Excel using built in functions but what fun would that be?
I looked in math.h, but couldn't find what I was looking for.
Thanks in advance.
There's got to be a more direct way than creating a loop.
If it's relavant to the answer, I am creating templates for calculating probability density functions. I am aware that I can calculate these in Excel using built in functions but what fun would that be?
I looked in math.h, but couldn't find what I was looking for.
Thanks in advance.