I do this in a loop now:
while:
A = random_matrix(...)
if(not A.is_singular()):
....
But this is innefficient. How do I generate random matrices with more concrete properties in sage?
| 1 | initial version | |
I do this in a loop now:
while:
A = random_matrix(...)
if(not A.is_singular()):
....
But this is innefficient. How do I generate random matrices with more concrete properties in sage?
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.