This is the mail archive of the
gsl-discuss@sourceware.cygnus.com
mailing list for the GSL project.
Re: spherical harmonics
- To: Maurizio Ungaro <ungaro at maurizio dot phys dot rpi dot edu>
- Subject: Re: spherical harmonics
- From: Brian Gough <bjg at network-theory dot co dot uk>
- Date: Tue, 25 Apr 2000 21:29:18 +0100 (BST)
- Cc: gsl-discuss at sourceware dot cygnus dot com
- References: <Pine.LNX.4.10.10004250616230.2670-100000@maurizio.phys.rpi.edu>
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
>
>
>