UShader Engine Wikia
Advertisement
Logarithm

Name[]

Log - returns the natural logarithm of scalars and vectors

Synopsis[]

vector1 log(vector1 a);
vector2 log(vector2 a);
vector3 log(vector3 a);
vector4 log(vector4 a);

Parameters[]

a
Vector or scalar of which to determine the natural logarithm.

Description[]

Returns the natural logarithm a.

For vectors, the returned vector contains the natural logarithm of each element of the input vector.

Advertisement