fixed_same_as.hpp
Go to the documentation of this file.
37 FixedPrior(const std::vector<std::string>& param, const Options& options) : BasePrior(param), iter(0) 51 scan_err << "fixed_value input for parameter " << param_names[0] << " is neither scalar nor sequence" << scan_end; 72 scan_err << "fixed_value input for parameter " << param_names[0] << " is neither scalar nor sequence" << scan_end; 80 void transform(const std::vector<double> &, std::unordered_map<std::string, double> &outputMap) const 90 std::vector<double> inverse_transform(const std::unordered_map<std::string, double> &physical) const override 141 MultiPriors(std::string name_in, std::unordered_map<std::string, std::pair<double, double> > &map_in) 169 void transform (const std::vector<double> &, std::unordered_map<std::string, double> &outputMap) const 180 std::vector<double> inverse_transform(const std::unordered_map<std::string, double> &physical) const override
void transform(const std::vector< double > &, std::unordered_map< std::string, double > &outputMap) const Transform from unit hypercube to parameter. Definition: fixed_same_as.hpp:80 std::vector< std::string > getShownParameters() const Definition: fixed_same_as.hpp:167 std::vector< std::string > param_names Definition: base_prior.hpp:46 std::vector< std::string > getShownParameters() const Definition: fixed_same_as.hpp:78 FixedPrior(const std::vector< std::string > ¶m, const Options &options) Definition: fixed_same_as.hpp:37 Prior object construction routines. FixedPrior(const std::string ¶m, const Options &options) Definition: fixed_same_as.hpp:60 Definition: log_tags.hpp:38 bool hasKey(const args &... keys) const Getters for key/value pairs (which is all the options node should contain) Definition: yaml_options.hpp:67 #define scan_err Defined to macros to output errors in the form: scan_err << "error" << scan_end; scan_warn << "warnin... Definition: scanner_utils.hpp:54 A parameter that is fixed to a different parameter. Definition: fixed_same_as.hpp:110 FixedPrior(const std::string &name, double value) Definition: fixed_same_as.hpp:76 std::vector< double > inverse_transform(const std::unordered_map< std::string, double > &physical) const override Transform from parameter back to unit hypercube. Definition: fixed_same_as.hpp:180 RangePrior1D< flatprior > LOAD_PRIOR(cos, RangePrior1D< cosprior >) LOAD_PRIOR(sin std::vector< double > inverse_transform(const std::unordered_map< std::string, double > &physical) const override Transform from parameter back to unit hypercube. Definition: fixed_same_as.hpp:90 MultiPriors(const std::vector< std::string > ¶m, const Options &options) Definition: fixed_same_as.hpp:117 MultiPriors(std::string name_in, std::unordered_map< std::string, std::pair< double, double > > &map_in) Definition: fixed_same_as.hpp:141 void transform(const std::vector< double > &, std::unordered_map< std::string, double > &outputMap) const Transform from unit hypercube to parameter. Definition: fixed_same_as.hpp:169 YAML::Node getNode(const args &... keys) const Retrieve raw YAML node. Definition: yaml_options.hpp:212 |