Term-vector operations
Returns dot product of two term vectors
Returns L2 norm of term vector v
Returns magnitude of multiset-intersection of A and B
Returns magnitude of multiset-union of A and B
Returns L2 norm of term vector v (identical to l2_norm())