Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there mathematical gamma function in C#?

I'd like to make a scientific calculator in C#, but I didn't find gamma function to calculate fractal factorials. The function's description is below: https://en.wikipedia.org/wiki/Gamma_function

How can I reach gamma function in C#?

like image 718
Kovoliver Avatar asked Aug 10 '18 15:08

Kovoliver


1 Answers

Install the Math.NET package from nuget

Documentation on the Gamma Function : https://numerics.mathdotnet.com/Functions.html

like image 108
Ryan McDonough Avatar answered Sep 27 '22 17:09

Ryan McDonough