vsm :: Vector :: inc
obj
If the term isn't already in the vector, the new value is 1.0.
# Increment value for `obj` term # # If the term isn't already in the vector, the new value is 1.0. fun inc(obj: nullable Object) do if has_key(obj) then self[obj] += 1.0 else self[obj] = 1.0 end end