33 for ( int32_t i = 0 ; i < nmats ; ++i )
75 if ( matrix_list && num_matrices )
77 for ( int32_t i = 0 ; i < num_matrices ; ++i )
81 matrix_list[i].~SGMatrix();
90 "The number of columns (%d) must be multiple of the number "
91 "of components (%d).\n",
94 int32_t new_num_cols = matrix.
num_cols / num_components;
98 for ( int32_t i = 0 ; i < num_components ; ++i )
101 start = i*matrix.
num_rows*new_num_cols;
103 for ( int32_t row = 0 ; row < matrix.
num_rows ; ++row )
105 for ( int32_t col = 0 ; col < new_num_cols ; ++col )
108 matrix[start + col*matrix.
num_rows + row];