vector: add initial value and scalar assignment