Generating Random Non-Singular Integer Matrices
问题 As part of a synthetic noise generation algorithm, I have to construct on the fly a lot of large non-singular square matrices a i,j (i,j:1..n) / ∀ (i,j) a i,j ∈ ℤ and 0 ≤ a i,j ≤ k and Det[a] ≠ 0 but the a i,j should also be random following a uniform distribution in [0, k]. In its current incarnation the problem has n ≅ 300, k≅ 100. In Mathematica, I can generate random element matrices very fast, but the problem is that I must also check for singularity. I am currently using the Determinant