XMMatrixVectorTensorProduct function (directxmath.h)

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

Syntax

XMMATRIX XM_CALLCONV  noexcept XMMatrixVectorTensorProduct(
  FXMVECTOR V1,
  FXMVECTOR V2
);

Parameters

V1

3D vector.

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

   
Target Platform Windows
Header directxmath.h

See also

DirectXMath Library Matrix Functions