Computes the [3x3] tensor product matrix of two 3d vectors.

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

Syntax

C#
public static Matrix3d TensorProduct(
	Vector3d a,
	Vector3d b
)
Visual Basic (Declaration)
Public Shared Function TensorProduct ( _
	a As Vector3d, _
	b As Vector3d _
) As Matrix3d
Visual C++
public:
static Matrix3d^ TensorProduct(
	Vector3d^ a, 
	Vector3d^ b
)

Parameters

a
Type: ceometric.VectorGeometry..::.Vector3d
The (left) 3d column vector.
b
Type: ceometric.VectorGeometry..::.Vector3d
The (right) 3d row vector.

Return Value

Returns the [3x3] tensor product matrix of two 3d vectors.

Remarks

The tensor product is sometimes called dyadic product.

See Also