XMVectorLogE

Computes the base e logarithm (also known as the natural logarithm) of each component of a vector.

Syntax

XMVECTOR XMVectorLogE(
         XMVECTOR V
)  

Parameters

V
Type: XMVECTOR 

Vector for which to compute the base e logarithm.

Return value

Type: XMVECTOR 

Returns a vector whose components are the base e logarithm of the corresponding components of V.

Remarks

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;  

Requirements

Header: Declared in directxmath.h.

See also

XMVectorExpE

XMVectorLog2