math
math copied to clipboard
FR: More reshaping functions
It would help if we had these, which I think we should also add:
matrix to_matrix(array[] vector x); matrix to_matrix(array[] row_vector u); array[] vector to_vector_array(matrix y); array[] row_vector to_row_vector_array(matrix v);
Originally posted by @bob-carpenter in stan#3354