Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

vnl_brent.h

Go to the documentation of this file.
00001 //-*- c++ -*-------------------------------------------------------------------
00002 #ifndef vnl_brent_h_
00003 #define vnl_brent_h_
00004 // Author: awf@robots.ox.ac.uk
00005 // Created: 07 Dec 00
00006 
00007 #include <vnl/vnl_cost_function.h>
00008 #include <vnl/vnl_nonlinear_minimizer.h>
00009 
00010 struct vnl_brent_data;
00011 
00012 //: Brent 1D minimizer
00013 class vnl_brent : public vnl_nonlinear_minimizer {
00014 public:
00015   vnl_brent(vnl_cost_function* functor);
00016  ~vnl_brent();
00017 
00018   double minimize(double x);
00019   double minimize_given_bounds(double ax, double bx, double cx,
00020                                double tol,
00021                                double *xmin);
00022   void bracket_minimum(double *ax, double *bx, double *cx,
00023                        double *fa, double *fb, double *fc);
00024 
00025   void bracket_minimum(double *ax, double *bx, double *cx);
00026 
00027 protected:
00028   vnl_brent_data *p;
00029 };
00030 
00031 #endif

Generated at Wed Mar 12 01:13:14 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000