Ask Your Question

# Revision history [back]

The documentation helps with that.

It can be accessed using

sage: random_matrix?


and in particular hints at

sage: random_matrix(algorithm='unimodular')


which will return a matrix of determinant one.