Contents
flatten_matrix()
Convert matrix with only one ROW or COLUMN to a ROW vector. :param data: (1, num_col) or (num_row, 1) array
matrix to convert
(num_col, ) or (num_row, ) vector