50 return matrix_list[index];
56 return matrix_list[index];
62 matrix_list[index] = matrix;
91 "The number of columns (%d) must be multiple of the number "
92 "of components (%d).\n",
95 int32_t new_num_cols = matrix.
num_cols / num_components;
98 for ( int32_t i = 0 ; i < num_components ; ++i )
102 for ( int32_t row = 0 ; row < matrix.
num_rows ; ++row )
104 for ( int32_t col = 0 ; col < new_num_cols ; ++col )
105 new_matrix(row, col) = matrix(row, i*new_num_cols + col);