Question: Linear Algebra over Galois Fields

I'm really struggling to do some linear algebra over Galois fields in Maple with LinearAlgebra package. I looked at the documentation for LinearAlgebra[Nodular] and LinearAlgebra[Generic], but i failed to get even simple examples to work. For instance as simple example over GF(2) I tried the following code which in my understanding should return the vector [1,1,1], instead this however simply no result seemt to be computed:

restart;
#with(LinearAlgebra[Generic]):
with(LinearAlgebra[Modular]):
M:=Matrix([[1,0,0,1],[0,1,0,1],[0,0,1,1]]);
A:=Mod(2, M,integer[]);
B:=LinearSolve(2,A,1);

Could somebody point out what I'm doing wrong here?
Also I'd really appreciate a similar simple working example (setting up a matrix and using LinearSolve) that uses the GF package or some other method allowing for general Galois fields rather than just Z/p.

Please Wait...