2015-08-22 19:59:23 -0500 | received badge | ● Famous Question (source) |

2014-04-14 03:47:45 -0500 | received badge | ● Notable Question (source) |

2013-08-11 17:36:46 -0500 | received badge | ● Popular Question (source) |

2012-08-29 05:12:21 -0500 | received badge | ● Student (source) |

2012-08-28 18:18:04 -0500 | received badge | ● Scholar (source) |

2012-08-28 18:18:04 -0500 | marked best answer | Generating random normal vectors and matrices From within Sage, I'd probably do something like for the first. (See also For the second, the best way would depend upon whether you want to specify an exact number of non-zero terms or only an approximate fraction. If exact, then maybe just use [Note that since I'm computing new random numbers each time, the three lines above aren't consistent with each other. But you should get the idea.] |

2012-08-28 17:53:10 -0500 | commented answer | Generating random normal vectors and matrices Thanks for these suggestions. |

2012-08-28 17:52:39 -0500 | received badge | ● Supporter (source) |

2012-08-28 15:29:21 -0500 | asked a question | 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. |

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.