Message-ID: <20020828131039.A28131@borneo.univ-mlv.fr>
Date: 2002-08-28T11:10:39Z
From: Cyril Humbert
Subject: Random unit vectors in R^{n}
In-Reply-To: <73D624FECBBAF6459BB60437FF7C02FB06D27A@nsabpmail>; from richards@upci.pitt.edu on Mon, Aug 26, 2002 at 07:11:57PM -0400
Richards, Tom wrote:
> Hello:
>
> Can you tell me if there's a simple way to generate in R random
> vectors on the unit sphere in R^{n}? Additionally, are there references for
> this question? Thanks in advance.
>
> Tom
There's some references in the documentation of the gsl library
(GNU scientific library).
See http://sources.redhat.com/gsl/ref/gsl-ref_19.html#SEC303
--
Cyril
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._