Post Reply 
Restricting random matrices
03-19-2014, 08:32 AM
Post: #5
RE: Restricting random matrices
The giac syntax for generating random matrices according to a probability distribution is
randmatrix(nrows,ncols,distribution,optional_distributions_arguments)
for example:
randmatrix(5,5,binomial,10,.3)
randmatrix(5,5,normald)
randmatrix(5,5,normald,1,2) (mu=1, sigma=2)
Some distributions available on giac are unfortunately not available on the Prime: exponentiald, studentd, fisherd, geometric, negbinomial, uniformd.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Restricting random matrices - DrD - 03-18-2014, 10:03 AM
RE: Restricting random matrices - DrD - 03-18-2014, 05:13 PM
RE: Restricting random matrices - parisse - 03-19-2014 08:32 AM
RE: Restricting random matrices - salvomic - 02-10-2015, 10:30 AM
RE: Restricting random matrices - DrD - 03-19-2014, 09:27 AM
RE: Restricting random matrices - DrD - 03-19-2014, 08:08 PM



User(s) browsing this thread: 1 Guest(s)