distanceCosine method
Computes the cosine distance between this vector column and another vector.
Implementation
ColumnVectorDistance<T> distanceCosine(T other) {
return ColumnVectorDistance<T>(VectorDistanceExpression<T>(
this,
_encodeValueForQuery(other),
VectorDistanceFunction.cosine,
));
}