XMVectorExpE

Computes e (~2.71828) raised to the power for each component.

Syntax

XMVECTOR XMVectorExpE(
         XMVECTOR V
)  

Parameters

V
Type: XMVECTOR 

Vector used for the exponents of base e.

Return value

Type: XMVECTOR 

Returns a vector whose components are e raised to the power of the corresponding component of V.

Remarks

The following pseudocode shows how this function is implemented.

XMVECTOR Result;

Result.x = expf(V.x);
Result.y = expf(V.y);
Result.z = expf(V.z);
Result.w = expf(V.w);

return Result;  

Requirements

Header: Declared in directxmath.h.

See also

XMVectorLogE

XMVectorExp2