Click or drag to resize

VectorMathDotProduct(IReadOnlyListDouble, IReadOnlyListDouble) 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<double> vector1,
	IReadOnlyList<double> vector2
)

Parameters

vector1  IReadOnlyListDouble
The first array.
vector2  IReadOnlyListDouble
The other array.

Return Value

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