ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 28 Aug 2012 15:29:21 -0500Generating random normal vectors and matriceshttp://ask.sagemath.org/question/9274/generating-random-normal-vectors-and-matrices/I'm new to sage, and am looking for the best ways to generate matrices and vectors with the following properties:
- Matrices with independent normal entries. The default distribution of entries in matrices generated by random_matrix seems to be uniform over [-1,1]. Can that be changed?
- Random (normal) vectors with fixed sparsity, in the sense that only a given number of the entries are non-zero.
Thanks for any assistance.staffordTue, 28 Aug 2012 15:29:21 -0500http://ask.sagemath.org/question/9274/