# euclideanDistance

fun <T> ExpressionWithColumnType<T>.euclideanDistance(target: Expression<T>): VectorDistance<T>

Returns the mathematical distance calculated between the two vector expressions, based on euclidean similarity.

fun ExpressionWithColumnType<FloatArray>.euclideanDistance(target: FloatArray): VectorDistance<FloatArray>
fun ExpressionWithColumnType<IntArray>.euclideanDistance(target: IntArray): VectorDistance<IntArray>

Returns the mathematical distance calculated between this vector expression and a target vector, based on euclidean similarity.