I am seeking a C or C++ version of gamma and log gamma functions.
Are there any code pieces or libraries recommended?
If possible, I want to know the principle of the implementations.
Thank you!!!
In c++11, you can use std::lgamma for log gamma, and tgamma for gamma.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With