OpenWalnut 1.3.1
|
Implements compile-time calculation of binomial coefficients. More...
#include <WCompileTimeFunctions.h>
Public Types | |
enum | { value = WBinom< n - 1, n, value = WBinom< n - 1 } |
Using an enum here instead of a static constant. More... |
Implements compile-time calculation of binomial coefficients.
WBinom< n, k >::value = n! / ( k!(n-k)! ).
Definition at line 63 of file WCompileTimeFunctions.h.
anonymous enum |
Using an enum here instead of a static constant.
Definition at line 68 of file WCompileTimeFunctions.h.