"Source: Text/Algebra/AlgMat.text";
"Line: 2214";
"Date: Wed Sep 19 23:00:01 2018";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Algebra/AlgMat.text, line: 2214
// Example: H90E7 ()
print "Example: H90E7";
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);
