|
Monte Carlo Integration Library 1.0
High-performance Monte Carlo methods for numerical integration and optimization
|
N-dimensional axis-aligned bounding box. More...
#include <geometry.hpp>
Public Member Functions | |
| Bounds () | |
| Default constructor initializing all bounds to [0,0]. | |
| const std::pair< double, double > & | operator[] (std::size_t i) const |
| Const accessor for bounds along axis i. | |
| std::pair< double, double > & | operator[] (std::size_t i) |
| Non-const accessor for bounds along axis i. | |
N-dimensional axis-aligned bounding box.
| dim | Dimensionality of the bounds |
Represents a hyperrectangular region defined by min/max pairs along each axis. Used for defining integration domains and sampling regions.
Definition at line 69 of file geometry.hpp.
|
inline |
Default constructor initializing all bounds to [0,0].
Definition at line 75 of file geometry.hpp.
|
inline |
Non-const accessor for bounds along axis i.
| i | Axis index (0 to dim-1) |
Definition at line 98 of file geometry.hpp.
|
inline |
Const accessor for bounds along axis i.
| i | Axis index (0 to dim-1) |
Definition at line 88 of file geometry.hpp.