| 
    Jpp
    15.0.2
    
   the software that should make you happy 
   | 
 
Data structure for result including value and first derivative of function. More...
#include <JResult.hh>
  
 Public Types | |
| typedef JLANG::JClass < JResult_t >::argument_type  | argument_type | 
Public Member Functions | |
| JResultDerivative () | |
| Default constructor.  More... | |
| JResultDerivative (argument_type f, argument_type fp) | |
| Constructor.  More... | |
| JResultDerivative & | negate () | 
| Prefix unary minus for function value of PDF.  More... | |
| JResultDerivative & | add (const JResultDerivative &value) | 
| Addition operator for function value of PDF.  More... | |
| JResultDerivative & | sub (const JResultDerivative &value) | 
| Subtraction operator for function value of PDF.  More... | |
| JResultDerivative & | mul (const double value) | 
| Multiplication operator for function value of PDF.  More... | |
| JResultDerivative & | div (const double value) | 
| Division operator for function value of PDF.  More... | |
| double | getP (const bool hit) const | 
| Get probability.  More... | |
| double | getChi2 (const bool hit) const | 
| Get chi2.  More... | |
| double | getDerivativeOfChi2 (const bool hit) const | 
| Get derivative of chi2.  More... | |
| JFirst_t & | mul (const JSecond_t &object) | 
| Multiply with object.  More... | |
Public Attributes | |
| JResult_t | f | 
| function value  More... | |
| JResult_t | fp | 
| first derivative  More... | |
Data structure for result including value and first derivative of function.
This data structure contains the following data mambers:
JResultDerivative::f = function value; JResultDerivative::fp = first derivative;
This class implements the JMATH::JMath interface.
Definition at line 43 of file JResult.hh.
| typedef JLANG::JClass<JResult_t>::argument_type JTOOLS::JResultDerivative< JResult_t >::argument_type | 
Definition at line 47 of file JResult.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Constructor.
| f | function value | 
| fp | first derivative | 
Definition at line 65 of file JResult.hh.
      
  | 
  inline | 
Prefix unary minus for function value of PDF.
Definition at line 77 of file JResult.hh.
      
  | 
  inline | 
Addition operator for function value of PDF.
| value | function value of PDF | 
Definition at line 92 of file JResult.hh.
      
  | 
  inline | 
Subtraction operator for function value of PDF.
| value | function value of PDF | 
Definition at line 107 of file JResult.hh.
      
  | 
  inline | 
Multiplication operator for function value of PDF.
| value | multiplication factor | 
Definition at line 122 of file JResult.hh.
      
  | 
  inline | 
Division operator for function value of PDF.
| value | multiplication factor | 
Definition at line 137 of file JResult.hh.
      
  | 
  inline | 
Get probability.
If the given hit is false (true), the return value corresponds to the Poisson probability that zero (one or more) hits occur for the given expectation value JResultDerivative::f.
| hit | hit (or not) | 
Definition at line 154 of file JResult.hh.
      
  | 
  inline | 
Get chi2.
The chi2 corresponds to -log(P), where P is the probability JResultDerivative::f.
| hit | hit (or not) | 
Definition at line 170 of file JResult.hh.
      
  | 
  inline | 
Get derivative of chi2.
| hit | hit (or not) | 
Definition at line 185 of file JResult.hh.
      
  | 
  inlineinherited | 
Multiply with object.
| object | object | 
Definition at line 357 of file JMath.hh.
| JResult_t JTOOLS::JResultDerivative< JResult_t >::f | 
function value
Definition at line 194 of file JResult.hh.
| JResult_t JTOOLS::JResultDerivative< JResult_t >::fp | 
first derivative
Definition at line 195 of file JResult.hh.
 1.8.5