Vector
Properties
Functions
Link copied to clipboard
Calculates the cosine similarity between this vector and another vector. The result is a value between -1 and 1, where 1 means the vectors are identical, 0 means they are orthogonal, and -1 means they are completely opposite.
Link copied to clipboard
Link copied to clipboard
Calculates the Euclidean distance between this vector and another vector. The result is a non-negative value, where 0 means the vectors are identical.