3 #define _USE_MATH_DEFINES // for MSVC 10 for (
unsigned int i=0;
i<cfg.
size();
i++){
11 out << cfg.
value(
i) <<
" ";
41 if (
size() != cfg.
size())
return true;
42 for (
unsigned int i=0;
i<
size();
i++){
50 if (
size() != cfg.
size())
return false;
51 for (
unsigned int i=0;
i<
size();
i++){
Configuration(unsigned int i_size)
constructor
bool operator==(const Configuration &cfg)
compare configurations
std::vector< double > m_values
std::ostream & operator<<(std::ostream &out, const Configuration &cfg)
bool operator!=(const Configuration &cfg)
compare configurations
const double value(unsigned int i_rank) const
unsigned int size() const
get the number of degrees of freedom