REMOVE_COLUMNS _ _ _ _ _ _ _ _ _ _ _ _ operator
Remove columns, remove rows:
<matrix> :- a matrix. <column\_list> :- either a positive integer or a list of positive integers.
remove_columnsremoves the columns specified in <column\_list> from <matrix>.
remove_rowsperforms the same task on the rows of <matrix>.
remove_columns(A,2);
[1 3]
[ ]
[4 6]
[ ]
[7 9]
remove_rows(A,{1,3});
[4 5 6]
Related functions: minor.