Skip to content

Instantly share code, notes, and snippets.

View cdrnet's full-sized avatar

Christoph Ruegg cdrnet

View GitHub Profile
@cdrnet
cdrnet / Samples.SpecialFunctions.Factorial.cs
Created February 17, 2011 14:15
Math.NET Numerics Code Samples: Special Functions: Factorial
double x = SpecialFunctions.Factorial(14);
// x will now have the value 87178291200.0
double y = SpecialFunctions.Factorial(31);
// y will now have the value 8.2228386541779224E+33