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

#include <bayeux/mygsl/multimin.h>

Classes

class  param_entry
 
struct  param_has_name
 
struct  param_is_auto
 
struct  param_is_fixed
 
struct  param_is_free
 

Public Member Functions

void lock_params ()
 
void unlock_params ()
 
bool is_lock_params () const
 
void print_params (std::ostream &) const
 
void print_params2 (std::ostream &) const
 
const param_entryget_param (int i_) const
 
void set_param_value (int i_, double val_)
 
void set_param_value_no_check (int i_, double val_)
 
bool is_param_fixed (int i_) const
 
bool is_param_free (int i_) const
 
bool is_param_auto (int i_) const
 
double get_param_value (int i_) const
 
double get_param_min (int i_) const
 
double get_param_max (int i_) const
 
double get_param_step (int i_) const
 
const std::string & get_param_name (int i_) const
 
void add_param (const param_entry &pe_)
 
size_t get_dimension () const
 
size_t get_free_dimension () const
 
size_t get_auto_dimension () const
 
virtual int prepare_values ()
 
virtual int auto_values ()
 
virtual int eval_f (const double *x_, double &f_)
 
virtual int eval_df (const double *x_, double *gradient_)
 
virtual int eval_fdf (const double *x_, double &f_, double *gradient_)
 
void to_double_star (double *pars_, size_t dimension_) const
 
virtual void from_double_star (const double *pars_, size_t dimension_)
 
 multimin_system ()
 
virtual ~multimin_system ()
 
void dump (std::ostream &out_) const
 

Protected Member Functions

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

Protected Attributes

bool _lock_params
 
std::vector< param_entry_params
 

Constructor & Destructor Documentation

◆ multimin_system()

mygsl::multimin_system::multimin_system ( )

◆ ~multimin_system()

virtual mygsl::multimin_system::~multimin_system ( )
virtual

Member Function Documentation

◆ _auto_values()

virtual int mygsl::multimin_system::_auto_values ( )
protectedvirtual

◆ _eval_df()

virtual int mygsl::multimin_system::_eval_df ( double *  gradient_)
protectedpure virtual

◆ _eval_f()

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

◆ _prepare_values()

virtual int mygsl::multimin_system::_prepare_values ( )
protectedvirtual

◆ add_param()

void mygsl::multimin_system::add_param ( const param_entry pe_)

◆ auto_values()

virtual int mygsl::multimin_system::auto_values ( )
virtual

◆ dump()

void mygsl::multimin_system::dump ( std::ostream &  out_) const

◆ eval_df()

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

◆ eval_f()

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

◆ eval_fdf()

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

◆ from_double_star()

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

◆ get_auto_dimension()

size_t mygsl::multimin_system::get_auto_dimension ( ) const

◆ get_dimension()

size_t mygsl::multimin_system::get_dimension ( ) const

◆ get_free_dimension()

size_t mygsl::multimin_system::get_free_dimension ( ) const

◆ get_param()

const param_entry& mygsl::multimin_system::get_param ( int  i_) const

◆ get_param_max()

double mygsl::multimin_system::get_param_max ( int  i_) const

◆ get_param_min()

double mygsl::multimin_system::get_param_min ( int  i_) const

◆ get_param_name()

const std::string& mygsl::multimin_system::get_param_name ( int  i_) const

◆ get_param_step()

double mygsl::multimin_system::get_param_step ( int  i_) const

◆ get_param_value()

double mygsl::multimin_system::get_param_value ( int  i_) const

◆ is_lock_params()

bool mygsl::multimin_system::is_lock_params ( ) const

◆ is_param_auto()

bool mygsl::multimin_system::is_param_auto ( int  i_) const

◆ is_param_fixed()

bool mygsl::multimin_system::is_param_fixed ( int  i_) const

◆ is_param_free()

bool mygsl::multimin_system::is_param_free ( int  i_) const

◆ lock_params()

void mygsl::multimin_system::lock_params ( )

◆ prepare_values()

virtual int mygsl::multimin_system::prepare_values ( )
virtual

◆ print_params()

void mygsl::multimin_system::print_params ( std::ostream &  ) const

◆ print_params2()

void mygsl::multimin_system::print_params2 ( std::ostream &  ) const

◆ set_param_value()

void mygsl::multimin_system::set_param_value ( int  i_,
double  val_ 
)

◆ set_param_value_no_check()

void mygsl::multimin_system::set_param_value_no_check ( int  i_,
double  val_ 
)

◆ to_double_star()

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

◆ unlock_params()

void mygsl::multimin_system::unlock_params ( )

Member Data Documentation

◆ _lock_params

bool mygsl::multimin_system::_lock_params
protected

◆ _params

std::vector<param_entry> mygsl::multimin_system::_params
protected

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