I am essentially trying to write a function that acts as np.reshape, but in C++. I want to take an input matrix, define the dimensions of the output matrix, and have the cod