template<typename T>
class hep::mc_point< T >
A random point \( \vec{x} \in [0,1]^d \) in the \( d \)-dimensional hypercube with an associated weight.
- Examples:
- checkpoints.cpp, checkpoints2.cpp, distributions_example.cpp, mpi_vegas_example.cpp, two_dimensional_distribution.cpp, vegas_example.cpp, vegas_stop_after_precision.cpp, and vegas_write_pdf.cpp.
◆ mc_point() [1/3]
Constructor. The weight is computed using the inverse of calls
, point
determines the location of this point in the hypercube of dimension point.size()
.
◆ mc_point() [2/3]
There is no copy constructor.
◆ mc_point() [3/3]
There is no move constructor.
◆ ~mc_point()
◆ operator=() [1/2]
There is no copy assignment operator.
◆ operator=() [2/2]
There is no move assignment operator.
◆ point()
The coordinates of this point of the hypercube. The dimension can be obtained using point.size()
.
◆ weight()
The weight \( w \) of this point. The PLAIN integrator (plain) produces points that have weight equals one, i.e. are constant over the entire unit-hypercube. This also means that weight does not include the averaging factor \( 1 / N \) that is used to produce the expected value.
Reimplemented in hep::multi_channel_point2< T, M >.
◆ point_
◆ weight_