Click or drag to resize

VectorMathDotProduct(IReadOnlyListSingle, IReadOnlyListSingle) Method

Returns the dot product of vector1 and vector2.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double DotProduct(
	IReadOnlyList<float> vector1,
	IReadOnlyList<float> vector2
)

Parameters

vector1  IReadOnlyListSingle
The first array.
vector2  IReadOnlyListSingle
The other array.

Return Value

Double
The dot product (sum of vector1[i]*vector2[i].
See Also