-
- Downloads
An error occurred while retrieving diff files
- improve 1D root finder and minimization classes
- return a bool in method RootFinder::Solve and IMinimizer1D::Minimize to be consistent with the other numerical algo. classes Classes in MathCore were also returning the wrong values (status=1 instead of zero) - add Status() method to check the validity of the cached values - change default tolerance to 10-8 (abs) and 10^-10 (values which were used as default in the Mathcore Brent) - return a bool also in SetFunction - Mathcore Brent classes: - pass tolerances and max iterations to the Brent methods. So do not use anymore the hard coded values - add possibility also to pass Npx (number of points to use in the grid for the bracketing search) and max number of iterations (before was hard coded to 10) This changes uses suggestion reported by https://savannah.cern.ch/bugs/index.php?61242 git-svn-id: http://root.cern.ch/svn/root/trunk@32583 27541ba8-7e3a-0410-8455-c3a389f83636
Showing
- math/mathcore/inc/LinkDef_Func.h 0 additions, 4 deletionsmath/mathcore/inc/LinkDef_Func.h
- math/mathcore/inc/Math/BrentMethods.h 44 additions, 5 deletionsmath/mathcore/inc/Math/BrentMethods.h
- math/mathcore/inc/Math/BrentMinimizer1D.h 58 additions, 18 deletionsmath/mathcore/inc/Math/BrentMinimizer1D.h
- math/mathcore/inc/Math/BrentRootFinder.h 55 additions, 10 deletionsmath/mathcore/inc/Math/BrentRootFinder.h
- math/mathcore/inc/Math/IMinimizer1D.h 7 additions, 2 deletionsmath/mathcore/inc/Math/IMinimizer1D.h
- math/mathcore/inc/Math/IParamFunction.h 1 addition, 1 deletionmath/mathcore/inc/Math/IParamFunction.h
- math/mathcore/inc/Math/IRootFinderMethod.h 16 additions, 13 deletionsmath/mathcore/inc/Math/IRootFinderMethod.h
- math/mathcore/inc/Math/IntegratorMultiDim.h 1 addition, 1 deletionmath/mathcore/inc/Math/IntegratorMultiDim.h
- math/mathcore/inc/Math/RootFinder.h 47 additions, 45 deletionsmath/mathcore/inc/Math/RootFinder.h
- math/mathcore/src/BrentMethods.cxx 21 additions, 14 deletionsmath/mathcore/src/BrentMethods.cxx
- math/mathcore/src/BrentMinimizer1D.cxx 43 additions, 35 deletionsmath/mathcore/src/BrentMinimizer1D.cxx
- math/mathcore/src/BrentRootFinder.cxx 45 additions, 22 deletionsmath/mathcore/src/BrentRootFinder.cxx
- math/mathcore/src/RootFinder.cxx 11 additions, 10 deletionsmath/mathcore/src/RootFinder.cxx
- math/mathcore/test/Makefile 8 additions, 0 deletionsmath/mathcore/test/Makefile
- math/mathcore/test/testRootFinder.cxx 89 additions, 17 deletionsmath/mathcore/test/testRootFinder.cxx
- math/mathmore/inc/Math/GSLMinimizer1D.h 7 additions, 1 deletionmath/mathmore/inc/Math/GSLMinimizer1D.h
- math/mathmore/inc/Math/GSLRootFinder.h 57 additions, 49 deletionsmath/mathmore/inc/Math/GSLRootFinder.h
- math/mathmore/inc/Math/GSLRootFinderDeriv.h 25 additions, 12 deletionsmath/mathmore/inc/Math/GSLRootFinderDeriv.h
- math/mathmore/inc/Math/GSLSimAnMinimizer.h 1 addition, 1 deletionmath/mathmore/inc/Math/GSLSimAnMinimizer.h
- math/mathmore/src/GSLIntegrator.cxx 1 addition, 1 deletionmath/mathmore/src/GSLIntegrator.cxx
Loading
Please register or sign in to comment