A misfit objective function
MisFitFcn () | |||||||||
MisFitFcn ( int n , Forward * p , Vector <double>* d, int lp) Constructor
| |||||||||
int | getOrder () const returns lp | ||||||||
int | experiments () const returns number of iterations | ||||||||
const char* | className () const returns name of the current class | ||||||||
const char* | forwardName () const returns name of the Forward class | ||||||||
Vector <double>* | getGradient (const Model <double>& m) evaluate gradient Vector for Model $m$ | ||||||||
Vector <double>* | getGradient (const Model <long>&) | ||||||||
Vector <double> | updateError (const Model <double>& m) evaluate lp-norm error for Model $m$ | ||||||||
Vector <double> | updateError (const Model <long>& m) | ||||||||
Vector <double> | observedData () const returns the observed data Vector | ||||||||
Vector <double> | currentError () const returns the error Vector between observed and calculated | ||||||||
Vector <double> | operateOn (const Vector <double>&) Forward operator applied to double vector $v$ | ||||||||
Vector <double> | operateOn (const Vector <long>&) Forward operator applied to long vector $v$ | ||||||||
double | operateOn (int, const Vector <double>&) | ||||||||
double | operateOn (int, const Vector <long>&) | ||||||||
Vector <double> | adjointOperation (const Vector <double> &) adjoint of the Forward operator operates on Vector v; mostly used when the Forward is a LinForward | ||||||||
Vector <double> | getOneOperator (int) | ||||||||
Vector <double> | getRefData () |
double | realPerformance (const Model <long>&) |
double | realPerformance (const Model <double>&) |
MisFitFcn is a derived class of objective function which measures the least-square error between the observed and calculated data set. The calculated data set are passed by the Forward operator which needs to be defined when constructing the MisFitFcn class.MisFitFcn currently only takes Models either double or long integer. It is mostly because I tried to avoid using templates, due to the guliness of template features in G++. Hopefully, this could be changed soon.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling