What is the syntax to add a vector v1
to each vector in a list of vectors v2
?
I know it has to be simple, but I really have searched and not found it.
v1 = {a, b, c}
v2 = {{d, e, f}, {g, h, i}, {j, k, l}}
i.e., sum them in a way to give:
{{a + d, b + e,c + f}, {a + g, b + h, c + i}, {a + j, b + k, c + l}}