dune-common 2.9.0
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
Dune::Power< p > Struct Template Reference

Compute power for a run-time base and a compile-time integer exponent. More...

#include <dune/common/power.hh>

Static Public Member Functions

template<typename T >
static constexpr auto eval (const T &a)
 

Detailed Description

template<int p>
struct Dune::Power< p >

Compute power for a run-time base and a compile-time integer exponent.

Deprecated:
Please use the method power from math.hh instead!
Template Parameters
pThe exponent

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