VectorMathDotProduct(IReadOnlyListSingle, IReadOnlyListSingle) 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<float> vector1,
IReadOnlyList<float> vector2
)
Parameters
- vector1 IReadOnlyListSingle
- The first array.
- vector2 IReadOnlyListSingle
- The other array.
Return Value
DoubleThe dot product (sum of vector1[i]*vector2[i].
See Also