bazar
1.3.1
|
Pre-defined structure for users that prefer function pointers to class heritage. More...
#include <ls_minimizer2.h>
Public Member Functions | |
observation_nn (func_nn_ptr eval, const flt_t *d, const flt_t *b) | |
virtual | ~observation_nn () |
virtual int | get_nb_measures () const |
virtual void | eval_func (const flt_t *state, flt_t *b, flt_t *J, void **user_data) const |
virtual flt_t | residual (const flt_t *computed_b) const |
Public Member Functions inherited from ls_minimizer2::observation | |
virtual | ~observation () |
observation () | |
void | set_default_values (void) |
void | set_weight (flt_t w) |
bool | operator< (const observation &a) const |
Public Attributes | |
flt_t | data [nb_data] |
flt_t | y [nb_obs] |
func_nn_ptr | f |
Public Attributes inherited from ls_minimizer2::observation | |
flt_t | squared_c_current |
flt_t | squared_c |
flt_t | c_min |
flt_t | c_max |
flt_t | weight |
flt_t | sqrt_weight |
flt_t | confidence |
flt_t * | b |
bool | outlier |
bool | ground_truth_outlier |
bool | delete_me |
bool | array_delete_me |
Pre-defined structure for users that prefer function pointers to class heritage.
Definition at line 88 of file ls_minimizer2.h.
|
inline |
Definition at line 94 of file ls_minimizer2.h.
References ls_minimizer2::observation_nn< nb_data, nb_obs >::data, ls_minimizer2::observation_nn< nb_data, nb_obs >::f, and ls_minimizer2::observation_nn< nb_data, nb_obs >::y.
|
inlinevirtual |
Definition at line 100 of file ls_minimizer2.h.
|
inlinevirtual |
Implements ls_minimizer2::observation.
Definition at line 102 of file ls_minimizer2.h.
References ls_minimizer2::observation_nn< nb_data, nb_obs >::data, and ls_minimizer2::observation_nn< nb_data, nb_obs >::f.
|
inlinevirtual |
Implements ls_minimizer2::observation.
Definition at line 101 of file ls_minimizer2.h.
|
inlinevirtual |
Reimplemented from ls_minimizer2::observation.
Definition at line 105 of file ls_minimizer2.h.
References ls_minimizer2::observation_nn< nb_data, nb_obs >::y.
flt_t ls_minimizer2::observation_nn< nb_data, nb_obs >::data[nb_data] |
Definition at line 89 of file ls_minimizer2.h.
Referenced by ls_minimizer2::observation_nn< nb_data, nb_obs >::eval_func(), and ls_minimizer2::observation_nn< nb_data, nb_obs >::observation_nn().
func_nn_ptr ls_minimizer2::observation_nn< nb_data, nb_obs >::f |
Definition at line 92 of file ls_minimizer2.h.
Referenced by ls_minimizer2::observation_nn< nb_data, nb_obs >::eval_func(), and ls_minimizer2::observation_nn< nb_data, nb_obs >::observation_nn().
flt_t ls_minimizer2::observation_nn< nb_data, nb_obs >::y[nb_obs] |
Definition at line 90 of file ls_minimizer2.h.
Referenced by ls_minimizer2::observation_nn< nb_data, nb_obs >::observation_nn(), and ls_minimizer2::observation_nn< nb_data, nb_obs >::residual().