dune-common 2.9.0
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
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 >

Calculates the factorial of m at compile time

Deprecated:
Will be removed after release 2.9

Member Data Documentation

◆ factorial

template<int m>
constexpr int Dune::Factorial< m >::factorial = m * Factorial<m-1>::factorial
staticconstexpr

factorial stores m!


The documentation for this struct was generated from the following file: