Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:22:04

0001 // @(#)root/mathmore:$Id$
0002 // Authors: L. Moneta, A. Zsenei   08/2005
0003 
0004  /**********************************************************************
0005   *                                                                    *
0006   * Copyright (c) 2004 ROOT Foundation,  CERN/PH-SFT                   *
0007   *                                                                    *
0008   * This library is free software; you can redistribute it and/or      *
0009   * modify it under the terms of the GNU General Public License        *
0010   * as published by the Free Software Foundation; either version 2     *
0011   * of the License, or (at your option) any later version.             *
0012   *                                                                    *
0013   * This library is distributed in the hope that it will be useful,    *
0014   * but WITHOUT ANY WARRANTY; without even the implied warranty of     *
0015   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   *
0016   * General Public License for more details.                           *
0017   *                                                                    *
0018   * You should have received a copy of the GNU General Public License  *
0019   * along with this library (see file COPYING); if not, write          *
0020   * to the Free Software Foundation, Inc., 59 Temple Place, Suite      *
0021   * 330, Boston, MA 02111-1307 USA, or contact the author.             *
0022   *                                                                    *
0023   **********************************************************************/
0024 
0025 // Header file for class GSLRootHelper
0026 //
0027 // Created by: moneta  at Sun Nov 14 21:34:15 2004
0028 //
0029 // Last update: Sun Nov 14 21:34:15 2004
0030 //
0031 #ifndef ROOT_Math_GSLRootHelper
0032 #define ROOT_Math_GSLRootHelper
0033 
0034 
0035 namespace ROOT {
0036 namespace Math {
0037 
0038 
0039   /**
0040       Helper functions to test convergence of Root-Finding algorithms.
0041       Used by ROOT::Math::RootFinder class (see there for the doc)
0042   */
0043 
0044 
0045    namespace GSLRootHelper {
0046 
0047      int TestInterval(double xlow, double xup, double epsAbs, double epsRel);
0048 
0049      int TestDelta(double x1, double x0, double epsAbs, double epsRel);
0050 
0051      int  TestResidual(double f,  double epsAbs);
0052 
0053    }
0054 
0055 } // namespace Math
0056 } // namespace ROOT
0057 
0058 
0059 #endif /* ROOT_Math_GSLRootHelper */