Reference documentation for deal.II version Git 96dee1a3e7 20190321 22:06:48 +0100

#include <deal.II/base/utilities.h>
Calculate a fixed power of an integer number by a template expression where both the number a
and the power N
are compiletime constants. This computes the result of the power operation at compile time, enabling its use e.g. in other templates.
Use this class as in fixed_int_power<5,2>::value
to compute 5^{2}.
constexpr
calculations, e.g., useinstead of
to obtain a constant expression for value
.
Definition at line 397 of file utilities.h.