MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

FW: Re: Wishart Distribution

  • To: mathgroup at
  • Subject: [mg45551] FW: [mg45531] Re: Wishart Distribution
  • From: David.Cousens at
  • Date: Tue, 13 Jan 2004 04:04:04 -0500 (EST)
  • Sender: owner-wri-mathgroup at

The following code works


David Cousens

CSIRO Exploration and Mining

-----Original Message-----
From: Paul Abbott [mailto:paul at] 
To: mathgroup at
Subject: [mg45551] [mg45531] Re: Wishart Distribution


In article <bt5ohv$3al$1 at>,

 "Bruce W. Colletti" <bcolletti at> wrote:


> Am running Mathematica 5.0 under WinXP Home, a want to generate one =

> random variable from a Wishart distribution.


> The code:


> Needs["Statistics`"];

> Random[WishartDistribution[{{1,0}, {0,1}}, 4]

This is missing a closing ]

> returns the error "non-rectangular tensor encountered."
> What am I doing wrong?  

Nothing else that I can see. I think that it is a bug.




Paul Abbott                                   Phone: +61 8 9380 2734

School of Physics, M013                         Fax: +61 8 9380 1014

The University of Western Australia      (CRICOS Provider No 00126G)

35 Stirling Highway

Crawley WA 6009                      mailto:paul at 


  • Prev by Date: hyperlink to pdf files
  • Next by Date: List arguments to functions
  • Previous by thread: Re: Wishart Distribution
  • Next by thread: Call for Paper (Tenth Int. Conference on Applications of Computer Algebra ACA-2004)