VectorMathDotProduct(IReadOnlyListDouble, IReadOnlyListDouble) Method |
Returns the dot product of vector1 and vector2.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static double DotProduct(
IReadOnlyList<double> vector1,
IReadOnlyList<double> vector2
)
Parameters
- vector1 IReadOnlyListDouble
- The first array.
- vector2 IReadOnlyListDouble
- The other array.
Return Value
DoubleThe dot product (sum of vector1[i]*vector2[i].
See Also