|
virtual bool | has_explicit_domain_of_definition () const |
| Check if the function has an explicit domain of definition (default: false) More...
|
|
virtual bool | is_in_domain_of_definition (double x_) const |
| Check if a value is in the domain of definition of the function (default: true) More...
|
|
| tabulated_function (const std::string &interp_name_="") |
| Default constructor. More...
|
|
| tabulated_function (const tabulated_function &tab_func_) |
| Copy constructor. More...
|
|
virtual | ~tabulated_function () |
| Destructor. More...
|
|
tabulated_function & | operator= (const tabulated_function &tab_func_) |
| Assignement. More...
|
|
bool | is_verbose () const |
| Check verbosity flag. More...
|
|
void | set_verbose (bool v_=true) |
| Set verbosity flag. More...
|
|
bool | is_valid (double x_) const |
| Check validity. More...
|
|
const std::string & | interpolator_name () const |
| Return the name of the interpolation algorithm (GSL) More...
|
|
const points_map_type & | points () const |
| Return the collection of points. More...
|
|
bool | export_to_vectors (std::vector< double > &keys_, std::vector< double > &values_) const |
| Export to vectors of doubles. More...
|
|
void | scale (double s_) |
| Scale the function by a given factor. More...
|
|
size_t | size () const |
| Return the size of the collection of points. More...
|
|
bool | is_table_locked () const |
| Check the table lock flag. More...
|
|
void | lock_table (const std::string &interp_name_="") |
| Lock the table using a given interpolation algorithm (GSL) More...
|
|
void | unlock_table () |
| Unlock the table. More...
|
|
void | relock_table (const std::string &interp_name_="") |
| Relock the table using a given interpolation algorithm (GSL) More...
|
|
void | add_point (double x_, double y_, bool lock_after_=false) |
| Add a point to the collection. More...
|
|
double | x_min () const |
| Return the minimum x value from the collection of points. More...
|
|
double | x_max () const |
| Return the maximum x value from the collection of points. More...
|
|
void | load_from_file (const std::string &filename_, uint32_t options_=0) |
| Load the collection of points from a file. More...
|
|
virtual void | tabfunc_load (std::istream &in_, void *context_=0) |
| Load from an input stream. More...
|
|
virtual void | tabfunc_store (std::ostream &out_, void *context_=0) const |
| Store to an output stream. More...
|
|
void | print_points (std::ostream &out_, const std::string &header_comment_="", const std::string &footer_comment_="") const |
| Print points. More...
|
|
virtual bool | is_initialized () const |
| Check initialization status. More...
|
|
virtual void | initialize (const datatools::properties &config_, const unary_function_dict_type &functors_) |
| Initialization from a container of parameters and a dictionary of functors. More...
|
|
void | reset () |
| Reset the functor. More...
|
|
virtual void | tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const |
| Smart printing. More...
|
|
| i_unary_function (double epsilon_=0.0) |
| Constructor. More...
|
|
virtual | ~i_unary_function () |
| Destructor. More...
|
|
virtual double | eval (double x_) const |
| The function evaluation method. More...
|
|
double | evaluate (double x_) const |
| The function evaluation method. More...
|
|
virtual double | eval_no_check (double x_) const |
| The function evaluation method with any value check. More...
|
|
virtual double | get_non_zero_domain_min () const |
| The minimum bound of the non-zero domain (default is minus infinity) More...
|
|
bool | has_non_zero_domain_min () const |
| Check the minimum bound of the non-zero domain. More...
|
|
virtual double | get_non_zero_domain_max () const |
| The maximum bound of the non-zero domain (default is plus infinity) More...
|
|
bool | has_non_zero_domain_max () const |
| Check the maximum bound of the non-zero domain. More...
|
|
bool | is_in_non_zero_domain (double x_) const |
| Check if a value is in the non-zero domain. More...
|
|
bool | is_in_zero_domain (double x_) const |
| Check if a value is in the zero domain. More...
|
|
bool | has_zero_domain () const |
| Check if the functor has an explicit zero domain. More...
|
|
double | operator() (double x_) const |
| Standard C++ functor interface. More...
|
|
void | write_ascii (std::ostream &fout_, double min_, double max_, unsigned int nsamples_, int x_precision_=16, int fx_precision_=16, uint32_t options_=wo_default) const |
| Write the (x,y=f(x)) value pairs in an ASCII stream : More...
|
|
void | write_ascii_with_units (std::ostream &fout_, double min_, double max_, unsigned int nsamples_, double x_unit_, double fx_unit_, int x_precision_=16, int fx_precision_=16, uint32_t options_=wo_default) const |
| Write the (x,y=f(x)) value pairs in an ASCII stream : More...
|
|
void | write_ascii_file (const std::string &filename_, double min_, double max_, unsigned int nsamples_, int x_precision_=16, int fx_precision_=16, uint32_t options_=wo_default) const |
| Write the (x,y=f(x)) value pairs in an ASCII file (typical Gnuplot input) : More...
|
|
void | write_ascii_file_with_units (const std::string &filename_, double min_, double max_, unsigned int nsamples_, const std::string &x_unit_label_, const std::string &fx_unit_label_, int x_precision_=16, int fx_precision_=16, uint32_t options_=wo_default) const |
| Write the (x,y=f(x)) value pairs in an ASCII file (typical Gnuplot input) : More...
|
|
void | set_epsilon (double) |
| Set the precision. More...
|
|
double | get_epsilon () const |
| Return the precision. More...
|
|
void | initialize_simple () |
| Simple initialization. More...
|
|
void | initialize_standalone (const datatools::properties &config_) |
| Initialization from a container of parameters. More...
|
|
| i_tree_dumpable () |
| Constructor. More...
|
|
virtual | ~i_tree_dumpable () |
| Destructor. More...
|
|
virtual void | print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const |
| Main new interface method for printing. More...
|
|
void | print_tree_json (std::ostream &out_=std::clog, const std::string &json_options_="") const |
| Printing with jsonized options. More...
|
|
void | print_tree_json (std::ostream &out_=std::clog, const char *json_options_=nullptr) const |
| Printing with jsonized options. More...
|
|
void | tree_dump_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="", const bool inherit_=false) const |
|
void | tree_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="") const |
|
void | smart_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="") const |
|
virtual i_cloneable * | clone (void) const =0 |
|
virtual | ~i_cloneable () |
|
template<class CandidateType > |
bool | is_cloneable (const CandidateType &candidate_) |
|