dune-common  2.4.1
Public Types | List of all members
Dune::Factorial< m > Struct Template Reference

Calculates the factorial of m at compile time. More...

#include <dune/common/math.hh>

Public Types

enum  { factorial = m * Factorial<m-1>::factorial }
 factorial stores m! More...
 

Detailed Description

template<int m>
struct Dune::Factorial< m >

Calculates the factorial of m at compile time.

Member Enumeration Documentation

template<int m>
anonymous enum

factorial stores m!

Enumerator
factorial 

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