|
Celeritas 0.7.0-dev.246+develop.67e9bdac
|
Sample points uniformly on the surface of a unit sphere. More...
#include <IsotropicDistribution.hh>
Public Types | |
Type aliases | |
| using | real_type = RealType |
| using | result_type = Array< real_type, 3 > |
| using | RecordT = IsotropicDistributionRecord |
Public Member Functions | |
| IsotropicDistribution () | |
| Construct with defaults. | |
| IsotropicDistribution (RecordT const &) | |
| template<class Generator > | |
| result_type | operator() (Generator &rng) |
| template<class Generator > | |
| auto | operator() (Generator &rng) -> result_type |
| Sample an isotropic unit vector. | |
Sample points uniformly on the surface of a unit sphere.