I have a matrix, A, which is of size nx2 and a vector, v, of 1000 coefficients.
I would like to create a vector of arrays, A_mult which has 1000 elements, such that every entry in A_mult consists of A with the first column multiplied by a corresponding entry of v.
i.e.
so essentially I want the first column of A to be multiplied by all the entries in v, and then store the resulting matrices in a new array. Is it possible to do this without a loop?