Click or drag to resize

VectorMathEuclideanDistance(IReadOnlyListSingle, IReadOnlyListSingle) Method

Returns the Euclidean distance of two vectors, i.e. the L2-norm of the difference of the two vectors.

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

Parameters

vector1  IReadOnlyListSingle
The first vector.
vector2  IReadOnlyListSingle
The other vector.

Return Value

Double
The Euclidean distance of vector1 and vector2.
See Also