Calculates dot product of two vectors.

Namespace:  AForge.Math
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public static float Dot(
	Vector4 vector1,
	Vector4 vector2
)

Parameters

vector1
Type: AForge.Math..::.Vector4
First vector to use for dot product calculation.
vector2
Type: AForge.Math..::.Vector4
Second vector to use for dot product calculation.

Return Value

Returns dot product of the two specified vectors.

See Also