Template Function TRAP::Math::Pow(Vec<L, T>, const Vec<L, T>&)#
Function Documentation#
-
template<u32 L, typename T>
constexpr Vec<L, T> TRAP::Math::Pow(Vec<L, T> base, const Vec<L, T> &exponent)# Retrieve the value of the first parameter raised to the power of the second.
- Parameters:
base – Floating-point value. Pow function is defined for input values of ‘base’ defined in the range (inf-, inf+) in the limit of the type qualifier.
exponent – Floating-point value representing the ‘exponent’.
- Returns:
‘base’ raised to the power ‘exponent’.