Mjolnir Core
Core functionality of the Mjolnir API
Core Math
cross_product
cross_product
determinant_2x2
determinant_2x2
determinant_3x3
determinant_3x3
determinant_4x4
determinant_4x4
dot_product
dot_product
gauss_summation
is_power_of_2
power
power_of_2
scalar_triple_product
scalar_triple_product
◆
power()
constexpr auto power
(
T_Type
base
,
std::integral auto
exponent
)
-> T_Type
constexpr
noexcept
Calculate the power of a number using an integer based exponent.
Template Parameters
T_Type
An integer or floating-point type
Parameters
[in]
base
The base number
[in]
exponent
The exponent
Returns
The result of the power function
Generated by
1.9.1