This is the mail archive of the gsl-discuss@sourceware.cygnus.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: spherical harmonics


We don't have any functions for generating random samples from
spherical harmonics.  The random distributions that we do have are in
the randist directory (mostly one-dimensional). If you would like to
write one for GSL let us know.

Maurizio Ungaro writes:
 > 
 > Hi,
 > I'm in the process writing a montecarlo simulation,
 > for which I'll need to generate angular distribution.
 > The code I need is very simple, I could write myself
 > but is there a way to get a distribution like Ylm ?
 > For example I give lm, and the function return theta and phi
 > according to Ylm.
 > 
 > Thanks a lot
 > Mauri
 > 
 > 
 > 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]