Computes the base e logarithm (also known as the natural logarithm) of each component of a vector.
XMVECTOR XMVectorLogE(
XMVECTOR V
)
V
Type: XMVECTOR
Vector for which to compute the base e logarithm.
Type: XMVECTOR
Returns a vector whose components are the base e logarithm of the corresponding components of V.
The following pseudocode shows how this function is implemented.
XMVECTOR Result;
Result.x = logf(V.x);
Result.y = logf(V.y);
Result.z = logf(V.z);
Result.w = logf(V.w);
return Result;
Header: Declared in directxmath.h.