XMVectorExpE method
Computes e (~2.71828) raised to the power for each component.
Syntax
XMVECTOR XMVectorExpE(
[in] XMVECTOR V
);
Parameters
- V [in]
-
Vector used for the exponents of base e.
Return value
Returns a vector whose components are e raised to the power of the corresponding component of V.
Remarks
Platform Requirements
Microsoft Visual Studio 2010 or Microsoft Visual Studio 2012 with the Windows SDK for Windows 8.1. Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.
XMVectorExpE is new for DirectXMath version 3.05. It's similar to the existing XMVectorExp function for Windows 8, but computes base e instead of base 2.
XMVectorExpE is implemented like this:
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
|
Namespace |
Use DirectX. |
|---|---|
|
Header |
|
See also