119 std::tuple<bool, double, double>
_calc_rho(
Checks if a range of observations have converged.
bool is_converged(double prec) const
Returns true if converged to the requested level.
std::tuple< bool, double, double > _calc_rho(const Eigen::VectorXd &observations)
Try to find rho = pow(2.0, -1.0/i), using min i such that CoVar[i]/CoVar[0] <= 0.5.
double calculated_precision() const
Calculated precision of <X>
MCData::size_type size_type
MCDataConvergence()
Default constructor.
double squared_norm() const
<X*X>
Checks if a range of observations have equilibrated.
MCDataEquilibration()
Default constructor.
size_type equilibration_samples() const
size_type m_equil_samples
bool is_equilibrated() const
MCData::size_type size_type
MCData stores observations of properties.
MCData(size_type count)
Constructor with initial buffer size 'count'.
size_type m_size
The number of observations.
MCData()
Default constructor.
Eigen::VectorXd m_observation
vector of all observations (includes m_size observations, and the rest is reserved space)
void clear()
Forget all the observed values (does not resize reserved space)
Eigen::VectorBlock< const Eigen::VectorXd > observations() const
Return all observations.
Monte::size_type size_type
size_type size() const
Number of observations.
void push_back(double value)
Add an observation.