[sage-support] Re: generating symmetric random matrices

2009-07-15 Thread javier
You can also start with a random matrix A and then construct (A + A.transpose())/2, which would be symmetric. That might vary the distribution of the coefficients, though. Cheers Javier On Jul 15, 7:13 am, William Stein wrote: > On Tue, Jul 14, 2009 at 11:09 PM, > > pierre.du...@gmail.com wrote

[sage-support] Re: generating symmetric random matrices

2009-07-14 Thread William Stein
On Tue, Jul 14, 2009 at 11:09 PM, pierre.du...@gmail.com wrote: > > I'd like to generate symmetric random matrices whose entries may be > various distributions.  Can I use random_matrix?  In help > (random_matrix), I haven't found any documentation on the *args and > **kwds variables. Unfortunate