VectorUtilSupport
Functions
Link copied to clipboard
Returns the cosine similarity between the two byte vectors.
Returns the cosine similarity between the two vectors.
Link copied to clipboard
Returns the dot product computed over signed bytes.
Calculates the dot product of the given float arrays.
Link copied to clipboard
Given an array buffer that is sorted between indexes 0 inclusive and to exclusive, find the first array index whose value is greater than or equal to target. This index is guaranteed to be at least from. If there is no such array index, to is returned.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the sum of squared differences of the two byte vectors.
Returns the sum of squared differences of the two vectors.