Click or drag to resize
Accord.NET (logo)

Vector4Dot Method

Calculates dot product of two vectors.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static float Dot(
	Vector4 vector1,
	Vector4 vector2
)
Request Example View Source

Parameters

vector1
Type: Accord.MathVector4
First vector to use for dot product calculation.
vector2
Type: Accord.MathVector4
Second vector to use for dot product calculation.

Return Value

Type: Single
Returns dot product of the two specified vectors.
See Also