# Generating an invertible matrix over a finite field

How to generate an invertible matrix over a finite field?

Generating an invertible matrix over a finite field

How to generate an invertible matrix over a finite field?

add a comment

3

Presumably you're not just looking for something like `identity_matrix(GF(16), 3)`

. Is

```
sage: F = ... your favorite finite field ..., for example F = GF(2)
sage: G = GL(4, F)
sage: G.random_element()
```

what you're looking for?

Please start posting anonymously - your entry will be published after you log in or create a new account.

Asked: ** 2022-01-20 04:02:53 +0100 **

Seen: **204 times**

Last updated: **Jan 20 '22**

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.