GCBM
lmeval.h
Go to the documentation of this file.
1 #ifndef MOJA_MODULES_CBM_LMEVAL_H_
2 #define MOJA_MODULES_CBM_LMEVAL_H_
3 
4 #include "moja/modules/cbm/_modules.cbm_exports.h"
5 #include "moja/flint/modulebase.h"
6 
7 namespace moja {
8 namespace modules {
9 namespace cbm {
10 
11  typedef struct {
12  /* may be modified to hold arbitrary data */
13  double *user_t;
14  double *user_y;
15  double (*user_func) (double user_t_point, double *par);
16  } lm_data_type;
17 
18 
19  class CBM_API LmEval{
20  public:
21  LmEval() = delete;
22  //Prototypes of procedures
23  static void lm_evaluate_default(double *par, int m_dat, double *fvec, void *data, int *info);
24 
25  static void lm_print_default(int n_par, double *par, int m_dat, double *fvec, void *data, int iflag, int iter, int nfev);
26 
27  };
28 }}}
29 #endif
moja::modules::cbm::LmEval
Definition: lmeval.h:19
moja::modules::cbm::lm_data_type::user_y
double * user_y
Definition: lmeval.h:14
moja::modules::cbm
Definition: ageclasshelper.cpp:12
moja::modules::cbm::lm_data_type
Definition: lmeval.h:11
moja
Definition: ageclasshelper.cpp:10
moja::modules::cbm::lm_data_type::user_t
double * user_t
Definition: lmeval.h:13