Exponential functions
Header: <glm/exponential.hpp>
(included by <glm/glm.hpp>
)
These functions operate component-wise.
pow(genType x, genType y) -> genType
- Returns \(x^y\)
exp(genType x) -> genType
log(genType x) -> genType
exp2(genType x) -> genType
- Returns \(2^x\).
log2(genType x) -> genType
- Returns \(\log_2 x\).
sqrt(genType x) -> genType
inversesqrt(genType x) -> genType
- Returns \(\frac{1}{\sqrt{x}}\).