|
Celeritas 0.7.0-dev.246+develop.67e9bdac
|
Sample a point uniformly in a box. More...
#include <UniformBoxDistribution.hh>
Public Types | |
Type aliases | |
| using | real_type = RealType |
| using | result_type = Array< real_type, 3 > |
| using | RecordT = UniformBoxDistributionRecord |
Public Member Functions | |
| UniformBoxDistribution (result_type lower, result_type upper) | |
| Construct from upper and lower coordinates. | |
| UniformBoxDistribution (RecordT const &record) | |
| template<class Generator > | |
| result_type | operator() (Generator &rng) |
| template<class Generator > | |
| auto | operator() (Generator &rng) -> result_type |
| Sample uniformly in the box. | |
Sample a point uniformly in a box.