35 template<length_t L,
typename T, qualifier Q>
36 GLM_FUNC_DECL vec<L, T, Q>
pow(vec<L, T, Q>
const& base, vec<L, T, Q>
const& exponent);
46 template<length_t L,
typename T, qualifier Q>
47 GLM_FUNC_DECL vec<L, T, Q>
exp(vec<L, T, Q>
const& v);
59 template<length_t L,
typename T, qualifier Q>
60 GLM_FUNC_DECL vec<L, T, Q>
log(vec<L, T, Q>
const& v);
70 template<length_t L,
typename T, qualifier Q>
71 GLM_FUNC_DECL vec<L, T, Q> exp2(vec<L, T, Q>
const& v);
82 template<length_t L,
typename T, qualifier Q>
83 GLM_FUNC_DECL vec<L, T, Q> log2(vec<L, T, Q>
const& v);
93 template<length_t L,
typename T, qualifier Q>
94 GLM_FUNC_DECL vec<L, T, Q>
sqrt(vec<L, T, Q>
const& v);
104 template<length_t L,
typename T, qualifier Q>
105 GLM_FUNC_DECL vec<L, T, Q> inversesqrt(vec<L, T, Q>
const& v);
Core features
Definition: common.hpp:20
GLM_FUNC_QUALIFIER vec< L, T, Q > sqrt(vec< L, T, Q > const &x)
Returns the positive square root of v.
Definition: func_exponential.inl:128
GLM_FUNC_QUALIFIER vec< L, T, Q > pow(vec< L, T, Q > const &base, vec< L, T, Q > const &exponent)
Returns 'base' raised to the power 'exponent'.
Definition: func_exponential.inl:72
GLM_FUNC_QUALIFIER vec< L, T, Q > log(vec< L, T, Q > const &x)
Returns the natural logarithm of v, i.e., returns the value y which satisfies the equation x = e^y...
Definition: func_exponential.inl:88
GLM_FUNC_QUALIFIER vec< L, T, Q > exp(vec< L, T, Q > const &x)
Returns the natural exponentiation of x, i.e., e^x.
Definition: func_exponential.inl:80