2023-05-12 22:06:09 +0200 | received badge | ● Notable Question (source) |

2022-07-04 20:55:04 +0200 | received badge | ● Famous Question (source) |

2022-03-19 13:15:51 +0200 | received badge | ● Popular Question (source) |

2019-07-12 15:09:54 +0200 | received badge | ● Scholar (source) |

2019-07-12 15:09:53 +0200 | commented answer | How to generate a nonsquare Vandermonde matrix? Thank you for the answer. |

2019-07-11 10:13:46 +0200 | asked a question | How to generate a nonsquare Vandermonde matrix? According to the documentation, we can generate a Vandermonde matrix using the method matrix.vandermonde() or vandermonde(). But they generate only square matrix. How do we generate a Vandermonde matrix which is not a square matrix? |

2017-11-22 13:04:59 +0200 | received badge | ● Notable Question (source) |

2016-04-28 10:18:01 +0200 | received badge | ● Popular Question (source) |

2015-04-22 19:38:18 +0200 | commented question | How to generate an element from laplace distribution I found a way to do this by using numpy in sage. http://docs.scipy.org/doc/numpy/refer... import numpy numpy.random.laplace(loc,scal,size) will generate an element for laplace distribution. But it is not a very "sage" way to do it. And I am still concerned about my first question. |

2015-04-22 00:02:16 +0200 | received badge | ● Student (source) |

2015-04-21 21:58:52 +0200 | received badge | ● Editor (source) |

2015-04-21 21:57:56 +0200 | asked a question | How to generate an element from laplace distribution Hi, I am wondering how to generate a random element according to laplace distribution. I tried the method RealDistribution(). But it failed. According to the reference manual, laplace distribution is not supported. http://www.sagemath.org/doc/reference... In the manual, there are some examples showing how to deal with uniform distribution, Gaussian distribution, etc. My questions are: (1) How do I know exactly which distributions are supported by the RealDistribution() method? (2) Is there anyway I can simply generate an element according to laplace distribution in sage? Thank you in advance. |

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.