GlobiPack
Version of the Day
|
Simple concrete class that implements a 1D algorithm to mimimize a 1D function. More...
#include <GlobiPack_Brents1DMinimization_decl.hpp>
Related Functions | |
(Note that these are not member functions.) | |
template<typename Scalar > | |
const RCP < Brents1DMinimization< Scalar > > | brents1DMinimization () |
Nonmember constructor. More... | |
Constructor/Initializers/Accessors | |
Brents1DMinimization () | |
Construct with default parameters. More... | |
Overridden from ParameterListAcceptor | |
void | setParameterList (RCP< ParameterList > const ¶mList) |
RCP< const ParameterList > | getValidParameters () const |
Bracket. | |
bool | approxMinimize (const MeritFunc1DBase< Scalar > &phi, const PointEval1D< Scalar > &pointLower, const Ptr< PointEval1D< Scalar > > &pointMiddle, const PointEval1D< Scalar > &pointUpper, const Ptr< int > &numIters=Teuchos::null) const |
Approximatly mimimize a 1D function. More... | |
Simple concrete class that implements a 1D algorithm to mimimize a 1D function.
ToDo: Finish Documentation!
Definition at line 63 of file GlobiPack_Brents1DMinimization_decl.hpp.
GlobiPack::Brents1DMinimization< Scalar >::Brents1DMinimization | ( | ) |
Construct with default parameters.
Definition at line 59 of file GlobiPack_Brents1DMinimization_def.hpp.
|
virtual |
Implements Teuchos::ParameterListAcceptor.
Definition at line 70 of file GlobiPack_Brents1DMinimization_def.hpp.
|
virtual |
Reimplemented from Teuchos::ParameterListAcceptor.
Definition at line 87 of file GlobiPack_Brents1DMinimization_def.hpp.
bool GlobiPack::Brents1DMinimization< Scalar >::approxMinimize | ( | const MeritFunc1DBase< Scalar > & | phi, |
const PointEval1D< Scalar > & | pointLower, | ||
const Ptr< PointEval1D< Scalar > > & | pointMiddle, | ||
const PointEval1D< Scalar > & | pointUpper, | ||
const Ptr< int > & | numIters = Teuchos::null |
||
) | const |
Approximatly mimimize a 1D function.
phi | [in] The evaluator object for the merit function which evaluates phi(alpha) ). |
pointLower | [in] Gives the lower bound for the point. This lower bound will be respected and will never be violated. The derivative field pointLower->Dphi is not accessed. |
pointMiddle | [in/out] In input, *pointMiddle give the initial guess for the point. On output, *pointMiddle |
pointUpper |
|
numIters |
|
Returns true
if an approximate local minimum has been found, false
otherwise.
Preconditions:
pointLower.alpha < pointMiddle->alpha && pointMiddle->alpha < pointUpper.alpha
pointLower.phi > pointMiddle->phi && pointMiddle->phi < pointUpper.phi
Definition at line 107 of file GlobiPack_Brents1DMinimization_def.hpp.
|
related |
Nonmember constructor.
Definition at line 152 of file GlobiPack_Brents1DMinimization_decl.hpp.