|
FEAT 3
Finite Element Analysis Toolbox
|
Factorial template meta-program. More...
#include <meta_math.hpp>
Static Public Attributes | |
| static constexpr int | value = n_ * Factorial<n_ - 1, m_>::value |
| value of the factorial More... | |
Factorial template meta-program.
This meta-program calculates the coefficient
\[ f(n,m) := \prod_{k=m}^n k \]
at compile-time. The factorial n! is given by f(n,0).
Definition at line 30 of file meta_math.hpp.
|
staticconstexpr |
value of the factorial
Definition at line 38 of file meta_math.hpp.