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) -> genTypelog(genType x) -> genTypeexp2(genType x) -> genType- Returns \(2^x\).
log2(genType x) -> genType- Returns \(\log_2 x\).
sqrt(genType x) -> genTypeinversesqrt(genType x) -> genType- Returns \(\frac{1}{\sqrt{x}}\).