add inplace vec-op-scalar functions