npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
convertToSphericalRandom.hh File Reference

Random numbers on the surface of N-dimensional unit sphere. More...

Go to the source code of this file.

Namespaces

 npstat
 

Functions

double npstat::convertToSphericalRandom (const double *rnd, unsigned dim, double *direction, bool getRadialRandom=true)
 

Detailed Description

Random numbers on the surface of N-dimensional unit sphere.

Author: I. Volobouev

March 2010