Transforms vectors such that the max. inner product (MIP) search is equal to a NN search with euclidean distances.
augment_vector.Rd
Transforms vectors such that the max. inner product (MIP) search is equal to a NN search with euclidean distances.
Value
A new matrix of row vectors with one additional (first) dimension that is the square root of the difference between the squared max. vector norm and the squared vector norm. This makes the norm of all vectors effectively the same.