Vector Functions
The following functions are for use with Vectors.
-
VEC_DISTANCE_COSINE
Calculates a Cosine distance between two vectors. -
VEC_DISTANCE_EUCLIDEAN
Calculates a Euclidean (L2) distance between two points. -
VEC_FromText
Converts a text representation of the vector to a vector. -
VEC_ToText
Converts a binary vector into a json array of numbers (floats).
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.