"Source: Text/Algebra/AlgMat.text";
"Line: 2225";
"Date: Thu Sep 25 14:47:46 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Algebra/AlgMat.text, line: 2225
// Example: H92E7 ()
print "Example: H92E7";
ei := GetEchoInput();
SetEchoInput(true);
K := GaloisField(5);
P<x> := PolynomialAlgebra(K);
M := MatrixAlgebra(P, 5);
a := M ! [x^i + x^j: i, j in [1..5]];
a;
ElementaryDivisors(a);
Rank(a);
assert $1 eq 2;
SetEchoInput(ei);
