A dense vector represented by a value array
# A dense vector represented by a value array
v = Vectors.dense([1.0, 2.0])
u = Vectors.dense([3.0, 4.0])
v + u
# DenseVector([4.0, 6.0])
2 - v
# DenseVector([1.0, 0.0])
v / 2
# DenseVector([0.5, 1.0])
v * u
# DenseVector([3.0, 8.0])
u / v
# DenseVector([3.0, 2.0])
u % 2
# DenseVector([1.0, 0.0])