COSINE_DISTANCE
COSINE_DISTANCE is a shorthand version of the
VECTOR_DISTANCE function that calculates the cosine distance between
two vectors. It takes two vectors as input and returns the distance between them as a
BINARY_DOUBLE.
Parameters
-
expr1andexpr2must evaluate to vectors that have the same format and number of dimensions. -
COSINE_DISTANCEreturns NULL, if eitherexpr1orexpr2is NULL.
Parent topic: Vector Distance Functions and Operators
