Jpp  18.5.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
JFIT::JMEstimatorNull Struct Reference

Null M-estimator. More...

#include <JMEstimator.hh>

Inheritance diagram for JFIT::JMEstimatorNull:
JFIT::JMEstimator

Public Member Functions

virtual double getRho (const double z) const
 Get maximum likelihood estimate. More...
 
virtual double getPsi (const double z) const
 Get derivative of maximum likelihood estimate. More...
 

Detailed Description

Null M-estimator.

This is not an estimator at all, but an object that just returns whatever it is given.
It is introduced so that the user can directly access the likelihood calculated by JRegressor<JEnergy>.

Definition at line 92 of file JMEstimator.hh.

Member Function Documentation

virtual double JFIT::JMEstimatorNull::getRho ( const double  z) const
inlinevirtual

Get maximum likelihood estimate.

Parameters
zdeviation
Returns
likelihood

Implements JFIT::JMEstimator.

Definition at line 95 of file JMEstimator.hh.

95 { return z; }
virtual double JFIT::JMEstimatorNull::getPsi ( const double  z) const
inlinevirtual

Get derivative of maximum likelihood estimate.

Parameters
zdeviation
Returns
derivative

Implements JFIT::JMEstimator.

Definition at line 96 of file JMEstimator.hh.

96 { return 1.0; }

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