Appart from allocating a new vector and filling its values one by one with the one of my matrix, how would I resize / refill a matrix of size n x m to a vector of s
n x m