Dune Core Modules (2.9.0)
Dune::Factorial< m > Struct Template Reference
#include <dune/common/math.hh>
Static Public Attributes | |
static constexpr int | factorial = m * Factorial<m-1>::factorial |
factorial stores m! | |
Detailed Description
template<int m>
struct Dune::Factorial< m >
struct Dune::Factorial< m >
Calculates the factorial of m at compile time
- Deprecated:
- Will be removed after release 2.9
The documentation for this struct was generated from the following file:
- dune/common/math.hh
![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/80x15.png)