Skip to content

Commit fe74c71

Browse files
dlesnoffvneiger
andauthored
Update doc/source/nmod_mat.rst
Co-authored-by: Vincent Neiger <vneiger@users.noreply.github.com>
1 parent 067415b commit fe74c71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/nmod_mat.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Random matrix generation
201201

202202
.. function:: void nmod_mat_randunif(nmod_mat_t mat, flint_rand_t state)
203203

204-
Sets the element to uniformly generated random numbers between `0` and `m-1`. This is used for benchmarks.
204+
Sets the element to uniformly generated random numbers in `[0, n)`, where `n` is the modulus of the matrix.
205205

206206
.. function:: int nmod_mat_randpermdiag(nmod_mat_t mat, flint_rand_t state, nn_srcptr diag, slong n)
207207

0 commit comments

Comments
 (0)