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

#include <bayeux/mygsl/multimin.h>

Classes

class  at_step_action
 
struct  default_step_action
 

Public Types

enum  mode_type { MODE_FDF = 0, MODE_F = 1 }
 
enum  stopping_t { STOPPING_GRADIENT =0, STOPPING_SIZE =1 }
 

Public Member Functions

size_t get_n_iter () const
 
double get_fval () const
 
void unset_step_action ()
 
void set_default_step_action ()
 
void set_step_action (at_step_action &asd_)
 
std::string get_name () const
 
void init (const std::string &name_, multimin_system &ms_)
 
void reset ()
 
 multimin ()
 
virtual ~multimin ()
 
int minimize (double epsabs_)
 
void devel_dump_x () const
 

Static Public Member Functions

static double multimin_f (const gsl_vector *v_, void *params_)
 
static void multimin_df (const gsl_vector *v_, void *params_, gsl_vector *gradient_)
 
static void multimin_fdf (const gsl_vector *v_, void *params_, double *f_, gsl_vector *gradient_)
 
static bool name_is_valid (const std::string &name_)
 
static void print_types (std::ostream &)
 

Static Public Attributes

static const size_t DEFAULT_MAX_ITER
 
static const bool DEFAULT_VERBOSE
 
static default_step_action _default_step_action_
 

Protected Member Functions

void _at_step_hook (int status_, size_t iter_, double *x_, size_t dim_, double f_)
 

Member Enumeration Documentation

◆ mode_type

Enumerator
MODE_FDF 
MODE_F 

◆ stopping_t

Enumerator
STOPPING_GRADIENT 
STOPPING_SIZE 

Constructor & Destructor Documentation

◆ multimin()

mygsl::multimin::multimin ( )

◆ ~multimin()

virtual mygsl::multimin::~multimin ( )
virtual

Member Function Documentation

◆ _at_step_hook()

void mygsl::multimin::_at_step_hook ( int  status_,
size_t  iter_,
double *  x_,
size_t  dim_,
double  f_ 
)
protected

◆ devel_dump_x()

void mygsl::multimin::devel_dump_x ( ) const

◆ get_fval()

double mygsl::multimin::get_fval ( ) const

◆ get_n_iter()

size_t mygsl::multimin::get_n_iter ( ) const

◆ get_name()

std::string mygsl::multimin::get_name ( ) const

◆ init()

void mygsl::multimin::init ( const std::string &  name_,
multimin_system ms_ 
)

◆ minimize()

int mygsl::multimin::minimize ( double  epsabs_)

◆ multimin_df()

static void mygsl::multimin::multimin_df ( const gsl_vector *  v_,
void *  params_,
gsl_vector *  gradient_ 
)
static

◆ multimin_f()

static double mygsl::multimin::multimin_f ( const gsl_vector *  v_,
void *  params_ 
)
static

◆ multimin_fdf()

static void mygsl::multimin::multimin_fdf ( const gsl_vector *  v_,
void *  params_,
double *  f_,
gsl_vector *  gradient_ 
)
static

◆ name_is_valid()

static bool mygsl::multimin::name_is_valid ( const std::string &  name_)
static

◆ print_types()

static void mygsl::multimin::print_types ( std::ostream &  )
static

◆ reset()

void mygsl::multimin::reset ( )

◆ set_default_step_action()

void mygsl::multimin::set_default_step_action ( )

◆ set_step_action()

void mygsl::multimin::set_step_action ( at_step_action asd_)

◆ unset_step_action()

void mygsl::multimin::unset_step_action ( )

Member Data Documentation

◆ _default_step_action_

default_step_action mygsl::multimin::_default_step_action_
static

◆ DEFAULT_MAX_ITER

const size_t mygsl::multimin::DEFAULT_MAX_ITER
static

◆ DEFAULT_VERBOSE

const bool mygsl::multimin::DEFAULT_VERBOSE
static

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