VectorMathEuclideanDistance(IReadOnlyListDouble, IReadOnlyListDouble) Method |
Returns the Euclidean distance of two vectors, i.e. the L2-norm of the difference of the two vectors.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static double EuclideanDistance(
IReadOnlyList<double> vector1,
IReadOnlyList<double> vector2
)
Parameters
- vector1 IReadOnlyListDouble
- The first vector.
- vector2 IReadOnlyListDouble
- The other vector.
Return Value
DoubleThe Euclidean distance of vector1 and vector2.
See Also