Dune Core Modules (unstable)

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

The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Mar 27, 23:31, 2024)