- I need to find all the sub-square matrices of a $4 \times 4$ matrix.
- Then find the determinant of all $70$ of them.
I was directed to Sage but I know little about it. A simple program would be much appreciated.
For example, the matrix below:
$$2\quad 3\quad 1\quad 1$$ $$1\quad 2\quad 3\quad 1$$ $$1\quad 1\quad 2\quad 3$$ $$3\quad 1\quad 1\quad 2$$
Thanks to anyone who can help.