28 mat_wrapper <<
m_format(select.selected_config_cbegin(), select.selected_config_cend());
34 m_gram_mat = (double(tcovar.rows()) * tcovar + 1E-6 * Eigen::MatrixXd::Identity(tcovar.rows(), tcovar.cols())).inverse();
83 Eigen::Map<const Eigen::VectorXd> corr(tstr.
vector().data(), tstr.
vector().size());
bool parse_args(const std::string &args) override
Eigen::MatrixXd m_gram_mat
Gram matrix, which defind Mahalanobis scalar product.
PrimClex & get_primclex() const
Get the PrimClex for this Configuration.
double evaluate(const Configuration &_config) const override
void init(const Configuration &_tmplt) const override
std::string m_selection
specifies which selection to use as the population
Eigen::VectorXd m_avg_corr
The average correlation vector of the population.
const Eigen::MatrixXd & matrix()
config_const_iterator selected_config_cend() const
const Configuration iterator: end
config_const_iterator selected_config_cbegin() const
const Configuration iterator: begin
config_const_iterator config_cend() const
const Configuration iterator: end
std::string short_header(const Configuration &_config) const override
config_const_iterator config_cbegin() const
const Configuration iterator: begin
DataFormatter< Configuration > m_format
Formatter which is used to obtain correlations.
const std::vector< T > & vector() const
Returns correlation values.
A Configuration represents the values of all degrees of freedom in a Supercell.