set operators for vectors

Recreating snafu'ed #1836.

Issue #1963 should point to this issue instead.