Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Data Structures | Namespaces | Enumerations | Functions
MathOpt_FRPR.hxx File Reference
#include <MathUtils_Types.hxx>
#include <MathUtils_Config.hxx>
#include <MathUtils_Core.hxx>
#include <MathUtils_LineSearch.hxx>
#include <MathUtils_Deriv.hxx>
#include <cmath>

Data Structures

struct  MathOpt::FRPRConfig
 Configuration for FRPR conjugate gradient method. More...
 

Namespaces

namespace  MathOpt
 Optimization algorithms for scalar and vector functions.
 

Enumerations

enum class  MathOpt::ConjugateGradientFormula { MathOpt::FletcherReeves , MathOpt::PolakRibiere , MathOpt::HestenesStiefel , MathOpt::DaiYuan }
 Conjugate gradient formula selection. More...
 

Functions

template<typename Function >
VectorResult MathOpt::FRPR (Function &theFunc, const math_Vector &theStartingPoint, const FRPRConfig &theConfig=FRPRConfig())
 Fletcher-Reeves-Polak-Ribiere conjugate gradient method.
 
template<typename Function >
VectorResult MathOpt::FRPRNumerical (Function &theFunc, const math_Vector &theStartingPoint, double theGradStep=1.0e-8, const FRPRConfig &theConfig=FRPRConfig())
 FRPR with numerical gradient. Uses central differences when analytical gradient is not available.