Bayeux  3.4.1
Core Foundation library for SuperNEMO
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
mygsl::multidimensional_minimization_system Class Referenceabstract

System for multidimensional minimization algorithm. More...

#include <bayeux/mygsl/multidimensional_minimization.h>

Inheritance diagram for mygsl::multidimensional_minimization_system:
mygsl::multiparameter_system

Classes

struct  func_eval_f_param
 

Public Member Functions

int init_params_values ()
 
void set_numeric_eval_df (bool=true)
 
bool is_numeric_eval_df () const
 
double get_out_of_limit_slope () const
 
int eval_f (const double *x_, double &f_)
 
int eval_df (const double *x_, double *gradient_)
 
int eval_fdf (const double *x_, double &f_, double *gradient_)
 
void to_double_star (double *pars_, size_t dimension_) const
 
void from_double_star (const double *pars_, size_t dimension_)
 
 multidimensional_minimization_system (double slope_=DEFAULT_OUT_OF_LIMIT_SLOPE, bool use_numeric_eval_=false)
 
virtual ~multidimensional_minimization_system ()
 
void plot_f (const std::string &prefix_, int mode_=0) const
 
- Public Member Functions inherited from mygsl::multiparameter_system
bool is_lock_params () const
 
size_t get_number_of_params () const
 
size_t get_number_of_free_params () const
 
size_t get_number_of_auto_params () const
 
size_t get_number_of_const_params () const
 
void init ()
 
void reset ()
 
void lock_params ()
 
void unlock_params ()
 
bool has_param_with_name (const std::string &name_) const
 
const param_entryget_param_by_name (const std::string &name_) const
 
param_entrygrab_param_by_name (const std::string &name_)
 
const param_entryget_param (int i_) const
 
param_entrygrab_param (int i_)
 
const param_entryget_free_param (int i_) const
 
param_entrygrab_free_param (int i_)
 
const param_entryget_auto_param (int i_) const
 
param_entrygrab_auto_param (int i_)
 
void add_param (const param_entry &pe_, const std::string &comment_="")
 
 multiparameter_system ()
 
virtual ~multiparameter_system ()
 
void print (std::ostream &out_=std::clog, const std::string &title_="Multi-parameter system", const std::string &indent_="") const
 
void print_line (std::ostream &out_=std::clog) const
 
void print_status (std::ostream &out_=std::clog) const
 
void load_parameters (const std::string &filename_)
 
void load_params (const std::string &filename_)
 
void load_parameters (std::istream &in_)
 
void store_parameters (const std::string &filename_) const
 
void store_params (const std::string &filename_) const
 
void store_parameters (std::ostream &out_) const
 
virtual void compute_automatic_params ()
 

Static Public Member Functions

static double func_eval_f_MR (double x_, void *params_)
 

Static Public Attributes

static const double DEFAULT_OUT_OF_LIMIT_SLOPE
 

Protected Member Functions

virtual int _eval_f (double &f_)=0
 
virtual int _eval_df (double *gradient_)
 

Additional Inherited Members

- Public Types inherited from mygsl::multiparameter_system
typedef std::vector< param_entry * > params_col_type
 

Detailed Description

System for multidimensional minimization algorithm.

Constructor & Destructor Documentation

◆ multidimensional_minimization_system()

mygsl::multidimensional_minimization_system::multidimensional_minimization_system ( double  slope_ = DEFAULT_OUT_OF_LIMIT_SLOPE,
bool  use_numeric_eval_ = false 
)

◆ ~multidimensional_minimization_system()

virtual mygsl::multidimensional_minimization_system::~multidimensional_minimization_system ( )
virtual

Member Function Documentation

◆ _eval_df()

virtual int mygsl::multidimensional_minimization_system::_eval_df ( double *  gradient_)
protectedvirtual

◆ _eval_f()

virtual int mygsl::multidimensional_minimization_system::_eval_f ( double &  f_)
protectedpure virtual

◆ eval_df()

int mygsl::multidimensional_minimization_system::eval_df ( const double *  x_,
double *  gradient_ 
)

◆ eval_f()

int mygsl::multidimensional_minimization_system::eval_f ( const double *  x_,
double &  f_ 
)

◆ eval_fdf()

int mygsl::multidimensional_minimization_system::eval_fdf ( const double *  x_,
double &  f_,
double *  gradient_ 
)

◆ from_double_star()

void mygsl::multidimensional_minimization_system::from_double_star ( const double *  pars_,
size_t  dimension_ 
)

◆ func_eval_f_MR()

static double mygsl::multidimensional_minimization_system::func_eval_f_MR ( double  x_,
void *  params_ 
)
static

◆ get_out_of_limit_slope()

double mygsl::multidimensional_minimization_system::get_out_of_limit_slope ( ) const

◆ init_params_values()

int mygsl::multidimensional_minimization_system::init_params_values ( )

◆ is_numeric_eval_df()

bool mygsl::multidimensional_minimization_system::is_numeric_eval_df ( ) const

◆ plot_f()

void mygsl::multidimensional_minimization_system::plot_f ( const std::string &  prefix_,
int  mode_ = 0 
) const

◆ set_numeric_eval_df()

void mygsl::multidimensional_minimization_system::set_numeric_eval_df ( bool  = true)

◆ to_double_star()

void mygsl::multidimensional_minimization_system::to_double_star ( double *  pars_,
size_t  dimension_ 
) const

Member Data Documentation

◆ DEFAULT_OUT_OF_LIMIT_SLOPE

const double mygsl::multidimensional_minimization_system::DEFAULT_OUT_OF_LIMIT_SLOPE
static

The documentation for this class was generated from the following file: