Exponential functions (Section 8.2 of GLSL 1.20.8 specification).
|
Functions |
|
template<typename T> |
| detail::_xvec4< T > | exp (const detail::_xvec4< T > &x) |
| | Returns the natural exponentiation of x, i.e., e^x. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec3< T > | exp (const detail::_xvec3< T > &x) |
| | Returns the natural exponentiation of x, i.e., e^x. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec2< T > | exp (const detail::_xvec2< T > &x) |
| | Returns the natural exponentiation of x, i.e., e^x. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| T | exp (T x) |
| | Returns the natural exponentiation of x, i.e., e^x. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec4< T > | exp2 (const detail::_xvec4< T > &x) |
| | Returns 2 raised to the x power. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec3< T > | exp2 (const detail::_xvec3< T > &x) |
| | Returns 2 raised to the x power. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec2< T > | exp2 (const detail::_xvec2< T > &x) |
| | Returns 2 raised to the x power. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| T | exp2 (T x) |
| | Returns 2 raised to the x power. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec4< T > | inversesqrt (const detail::_xvec4< T > &x) |
| | Returns the reciprocal of the positive square root of x. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec3< T > | inversesqrt (const detail::_xvec3< T > &x) |
| | Returns the reciprocal of the positive square root of x. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec2< T > | inversesqrt (const detail::_xvec2< T > &x) |
| | Returns the reciprocal of the positive square root of x. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| T | inversesqrt (T x) |
| | Returns the reciprocal of the positive square root of x. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec4< T > | log (const detail::_xvec4< T > &x) |
| | Returns the natural logarithm of x, i.e., returns the value y which satisfies the equation x = e^y. Results are undefined if x <= 0. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec3< T > | log (const detail::_xvec3< T > &x) |
| | Returns the natural logarithm of x, i.e., returns the value y which satisfies the equation x = e^y. Results are undefined if x <= 0. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec2< T > | log (const detail::_xvec2< T > &x) |
| | Returns the natural logarithm of x, i.e., returns the value y which satisfies the equation x = e^y. Results are undefined if x <= 0. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| T | log (T x) |
| | Returns the natural logarithm of x, i.e., returns the value y which satisfies the equation x = e^y. Results are undefined if x <= 0. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec4< T > | log2 (const detail::_xvec4< T > &x) |
| | Returns the base 2 log of x, i.e., returns the value y, which satisfies the equation x = 2 ^ y. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec3< T > | log2 (const detail::_xvec3< T > &x) |
| | Returns the base 2 log of x, i.e., returns the value y, which satisfies the equation x = 2 ^ y. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec2< T > | log2 (const detail::_xvec2< T > &x) |
| | Returns the base 2 log of x, i.e., returns the value y, which satisfies the equation x = 2 ^ y. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| T | log2 (T x) |
| | Returns the base 2 log of x, i.e., returns the value y, which satisfies the equation x = 2 ^ y. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec4< T > | pow (const detail::_xvec4< T > &x, const detail::_xvec4< T > &y) |
| | Returns x raised to the y power. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec3< T > | pow (const detail::_xvec3< T > &x, const detail::_xvec3< T > &y) |
| | Returns x raised to the y power. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec2< T > | pow (const detail::_xvec2< T > &x, const detail::_xvec2< T > &y) |
| | Returns x raised to the y power. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| T | pow (T x, T y) |
| | Returns x raised to the y power. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec4< T > | sqrt (const detail::_xvec4< T > &x) |
| | Returns the positive square root of x. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec3< T > | sqrt (const detail::_xvec3< T > &x) |
| | Returns the positive square root of x. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| detail::_xvec2< T > | sqrt (const detail::_xvec2< T > &x) |
| | Returns the positive square root of x. (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| T | sqrt (T x) |
| | Returns the positive square root of x. (From GLSL 1.10.59 specification).
|
Exponential functions (Section 8.2 of GLSL 1.20.8 specification).