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