A hypercube class for o2scl::prob_dens_mdim_amr. More...
#include <prob_dens_mdim_amr.h>
Definition at line 74 of file prob_dens_mdim_amr.h.
Public Member Functions | |
hypercube () | |
Create an empty hypercube. | |
template<class vec2_t > | |
void | set (vec2_t &l, vec2_t &h, size_t in, double fvol, double wgt) |
Set the hypercube information. | |
hypercube (const hypercube &h) | |
Copy constructor. | |
hypercube & | operator= (const hypercube &h) |
Copy constructor through operator=() | |
template<class vec2_t > | |
bool | is_inside (const vec2_t &v) const |
Test if point v is inside this hypercube. | |
Public Attributes | |
size_t | n_dim |
The number of dimensions. | |
std::vector< double > | low |
The corner of smallest values. | |
std::vector< double > | high |
The corner of largest values. | |
std::vector< size_t > | inside |
The list of indices inside. | |
double | frac_vol |
The fractional volume enclosed. | |
double | weight |
The weight. | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).