Click or drag to resize

Vector Products

Hereinafter the following convention is used:

  • VSmall Greek – small Greek letters are used to denote scalars;

  • VSmall Latin – small Latin letters are used to denote vectors;

  • VCapital Latin – capital Latin letters are used to denote matrices.

This topic contains the following sections:

Copying

This section describes methods applied to calculate dot product and tensor product of two vectors or of a given vector with itself.

Operation

Description

Performance

dot product

Computes the dot product of this vector with itself:

given:

VVector

then the resulting dot product is:

VDot Product Itself

methodDotProduct

Computes the dot product of this vector with another vector:

given:

VTwo Vector

then the resulting dot product is:

VDot Product

methodDotProduct(Vector)

StaticDotProduct(Vector, Vector)

tensor product

Computes the tensor product of this vector with itself:

given:

VVector

then the resulting tensor product is:

VTensor Product Itself 1

VTensor Product Itself 2

Returning result:

methodTensorProduct

Out of place:

methodTensorProduct(Matrix)

Computes the tensor product of this vector with another vector:

given:

VTwo Vector

then the resulting tensor product is:

VTensor Product 1

VTensor Product 2

Returning result:

methodTensorProduct(Vector)

StaticTensorProduct(Vector, Vector)

Out of place:

methodTensorProduct(Vector, Matrix)

StaticTensorProduct(Vector, Vector, Matrix)

See Also