|Constructor and Description|
|Modifier and Type||Method and Description|
Normalize a vector with respect to a user vector.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public MutableSparseVector normalize(long user, @Nonnull SparseVector vector, @Nullable MutableSparseVector target)
and the resulting
user- The user to normalize a vector for.
vector- The user's vector for reference.
target- The vector to normalize. If
null, the user vector is normalized.
targetvector, if specified. Otherwise, a fresh mutable vector containing a normalized copy of the user vector is returned.