Skip to content
Prev 22937 / 398502 Next

Random unit vectors in R^{n}

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
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._