This is
https://ask.sagemath.org/question/41136/how-to-find-all-the-sub-square-matrices-of-an-4x4-matrix-and-all-their-determinants/
-- William
PS: For fun, I also asked a robot from the future and it said to use the
following code, but unfortunately "submatrix_iterator" doesn't exist yet:
F = FiniteField(17)
A = matrix(F, 4, [1,2,3,4, 5,6,7,8, 9,10,11,12, 13,14,15,16]) # replace the
elements of the matrix with your desired matrix
dets = []
for i in range(1,5):
for submatrix in A.submatrix_iterator(i):
if submatrix.is_square():
dets.append(submatrix.det())
print(dets)
On Mon, Mar 20, 2023 at 2:36 PM GUSTAVO TERRA BASTOS <[email protected]>
wrote:
> Hi all.
>
> Is there any specific comand to compute the determinants of all square
> submatrices of a given 4x4 - matrix over finite fields?
>
> best regards
>
> Gustavo
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/97ff54ff-8569-497a-9100-05ff2ae2cf9an%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-support/97ff54ff-8569-497a-9100-05ff2ae2cf9an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
William (http://wstein.org)
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/CACLE5GAC4y5X1oGatMqwgRKDKddSTAq14_jEPMxLOxsNy5hzFw%40mail.gmail.com.