euclideanDistance

expect fun Function.euclideanDistance(expression1: Expression, expression2: Expression): Expression(source)

ENTERPRISE EDITION API

Creates a function that returns the Euclidean distance between the two input vectors. The result is a non-negative floating-point number. The expression1 and expression2 must be arrays of numbers, and must be the same length.

Return

The Euclidean distance between two given input vectors.

Parameters

expression1

The expression evaluated to an arrays of numbers.

expression2

The expression evaluated to an arrays of numbers.

actual fun Function.euclideanDistance(expression1: Expression, expression2: Expression): Expression(source)
actual fun Function.euclideanDistance(expression1: Expression, expression2: Expression): Expression(source)