L2_DISTANCE
Description
Calculate the distance between two points (the values of the vectors are the coordinates) in Euclidean space (Euclidean distance).
Parameter Description
- vector1: The first vector, supported types are array<decimal>, array<double>, array<float>
- vector2: The second vector, supported types are array<decimal>, array<double>, array<float>
Return Result
Returns a result of type double
Example
- Calculate the distance between two vectors of type array<decimal>
- Calculate the distance between two vectors of type array<double>
- Calculate the distance between two vectors of type array<float>