[root] / trunk / math / mathmore / inc / Math / GSLNLSMinimizer.h Repository:
ViewVC logotype

Diff of /trunk/math/mathmore/inc/Math/GSLNLSMinimizer.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 25485, Mon Sep 22 07:52:52 2008 UTC revision 25486, Mon Sep 22 12:43:03 2008 UTC
# Line 228  Line 228 
228     virtual bool ProvidesError() const { return true; }     virtual bool ProvidesError() const { return true; }
229    
230     /// return errors at the minimum     /// return errors at the minimum
231     virtual const double * Errors() const {     virtual const double * Errors() const { return &fErrors.front(); }
232        static std::vector<double> err;  //  {
233        err.resize(fDim);  //       static std::vector<double> err;
234        return &err.front();  //       err.resize(fDim);
235     }  //       return &err.front();
236    //    }
237    
238     /** return covariance matrices elements     /** return covariance matrices elements
239         if the variable is fixed the matrix is zero         if the variable is fixed the matrix is zero
240         The ordering of the variables is the same as in errors         The ordering of the variables is the same as in errors
241     */     */
242     virtual double CovMatrix(unsigned int , unsigned int ) const { return 0; }     virtual double CovMatrix(unsigned int , unsigned int ) const;
243    
244     /// minos error for variable i, return false if Minos failed     /// minos error for variable i, return false if Minos failed
245     virtual bool GetMinosError(unsigned int , double & /* errLow */ , double & /* errUp */ ) { return false; }     virtual bool GetMinosError(unsigned int , double & /* errLow */ , double & /* errUp */ ) { return false; }
# Line 261  Line 262 
262    
263     double fMinVal;                                // minimum function value     double fMinVal;                                // minimum function value
264     double fLSTolerance;                           // Line Search Tolerance     double fLSTolerance;                           // Line Search Tolerance
265     mutable std::vector<double> fValues;     std::vector<double> fValues;
266     //mutable std::vector<double> fErrors;     std::vector<double> fErrors;
267       const double * fCovMatrix;         // pointer to cov matrix (stored in fGSLMultiFit)
268     std::vector<double> fSteps;     std::vector<double> fSteps;
269     std::vector<std::string> fNames;     std::vector<std::string> fNames;
270     std::vector<LSResidualFunc> fResiduals;   //! transient Vector of the residual functions     std::vector<LSResidualFunc> fResiduals;   //! transient Vector of the residual functions

Legend:
Removed from v.25485  
changed lines
  Added in v.25486

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9