#include <MCData.hh>
MCData stores observations of properties.
Definition at line 12 of file MCData.hh.
◆ size_type
◆ MCData() [1/2]
CASM::Monte::MCData::MCData |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 17 of file MCData.hh.
◆ MCData() [2/2]
CASM::Monte::MCData::MCData |
( |
size_type |
count | ) |
|
|
inline |
Constructor with initial buffer size 'count'.
Definition at line 20 of file MCData.hh.
◆ clear()
void CASM::Monte::MCData::clear |
( |
| ) |
|
|
inline |
Forget all the observed values (does not resize reserved space)
Definition at line 24 of file MCData.hh.
◆ observations()
Eigen::VectorBlock<const Eigen::VectorXd> CASM::Monte::MCData::observations |
( |
| ) |
const |
|
inline |
Return all observations.
Definition at line 40 of file MCData.hh.
◆ push_back()
void CASM::Monte::MCData::push_back |
( |
double |
value | ) |
|
|
inline |
Add an observation.
Definition at line 27 of file MCData.hh.
◆ size()
size_type CASM::Monte::MCData::size |
( |
| ) |
const |
|
inline |
Number of observations.
Definition at line 45 of file MCData.hh.
◆ m_observation
Eigen::VectorXd CASM::Monte::MCData::m_observation |
|
private |
vector of all observations (includes m_size observations, and the rest is reserved space)
Definition at line 50 of file MCData.hh.
◆ m_size
The number of observations.
Definition at line 53 of file MCData.hh.
The documentation for this class was generated from the following file:
- /Users/bpuchala/Work/codes/CASMcode_v0.2.X_reference/include/casm/monte_carlo/MCData.hh