Honeycomb
0.1
Component-Model Framework
|
Class to evaluate Gamma and related functions. More...
#include <Gamma.h>
Static Public Member Functions | |
static Real | gamma (Real z) |
Gamma function. More... | |
static Real | gammaLn (Real z) |
ln(gamma) Useful in arithmetic because results of gamma can be large More... | |
static Real | factorial (Real n) |
Factorial, N!. N can be any Real including fractional numbers. More... | |
static Real | factorialLn (Real n) |
ln(N!) Useful in arithmetic because results of factorial can be large More... | |
static Real | choose (Real n, Real m) |
Number of ways of choosing m objects from n distinct objects. "N choose M". Both N and M can be fractional. More... | |
static Real | chooseLn (Real n, Real m) |
ln(choose()) Useful in arithmetic because results of choose can be large More... | |
Class to evaluate Gamma and related functions.
|
inlinestatic |
Number of ways of choosing m objects from n distinct objects. "N choose M". Both N and M can be fractional.
|
static |
ln(choose()) Useful in arithmetic because results of choose can be large
|
static |
Factorial, N!. N can be any Real including fractional numbers.
If N is an integer and Real type is Double then function returns perfect accuracy in N range [0,20]. Otherwise result is approximate.
|
static |
ln(N!) Useful in arithmetic because results of factorial can be large
|
inlinestatic |
Gamma function.
|
static |
ln(gamma) Useful in arithmetic because results of gamma can be large