Template Struct raiseNormToIntegerPower¶
Defined in File powers.h
Struct Documentation¶
-
template<typename Real, int n>
struct raiseNormToIntegerPower¶ Compute a quantity exponentiated by an integer power, using multiplication, at compile time. The exponent is assumed to be positve.
- Template Parameters:
Real – the floating point type to use for arithmetic.
n – the exponent to raise the value to.