XMMatrixVectorTensorProduct function (directxmath.h)

Builds a matrix from two vectors by computing the outer tensor product.

Syntax

XMMATRIX XM_CALLCONV XMMatrixVectorTensorProduct(
  [in] FXMVECTOR V1,
  [in] FXMVECTOR V2
) noexcept;

Parameters

[in] V1

3D vector.

[in] V2

3D vector.

Return value

Returns the outer tensor product of V1 and V2.

Remarks

See Wikipedia for more information on the outer product.

This function was added in DirectXMath 3.15.

Platform Requirements

Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Target Platform Windows
Header directxmath.h

See also

DirectXMath Library Matrix Functions