Factorial
viewed 3785 times and licensed 127 times
Calculates the factorial of an integer number.
Controller:
CodeCogs
Interface
#include <codecogs/maths/combinatorics/arithmetic/factorial.h>
using namespace Maths::Arithmetic;
| double | factorial (int n)
Calculates the factorial of an integer number. |
Use the following HTML code to embed the calculators within other websites:
| Name | HTML Code |
|---|
factorial
Calculates the factorial of an integer number. | |
Factorial
This function returns the factorial of an integer number:
Returns
- the factorial of n
Authors
- Will Bateman (April 2005)
Source Code
Source code is available when you agree to a GP Licence or buy a Commercial Licence.
Not a member, then Register with CodeCogs. Already a Member, then Login.
You must login to leave a messge