numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Class of functions of multi-variate optimization problems with multiple local optima. More...
#include <num_prob_collect/opt/multi_variate_multi_optima_function.h>
Public Types | |
using | hessian_type = Eigen::MatrixXd |
Type of Hessian. | |
using | value_type = double |
Type of function values. | |
using | variable_type = Eigen::VectorXd |
Type of variables. | |
Public Member Functions | |
multi_variate_multi_optima_function (Eigen::ArrayXXd optimal_variables, Eigen::ArrayXd optimal_values, Eigen::ArrayXd coefficients) | |
Constructor. | |
auto | coefficients () const noexcept -> const Eigen::ArrayXd & |
Get the coefficients for optima. | |
void | evaluate_on (const Eigen::VectorXd &variable) noexcept |
Evaluate function value on variable. | |
auto | optimal_values () const noexcept -> const Eigen::ArrayXd & |
Get the optimal values. | |
auto | optimal_variables () const noexcept -> const Eigen::ArrayXXd & |
Get the optimal variables. | |
auto | value () const noexcept -> const double & |
Get function value. | |
Private Attributes | |
Eigen::ArrayXd | coefficients_ |
Coefficients for optima. | |
Eigen::ArrayXd | optimal_values_ |
Optimal values. | |
Eigen::ArrayXXd | optimal_variables_ |
Optimal variables. | |
double | value_ {0.0} |
Function value. | |
Class of functions of multi-variate optimization problems with multiple local optima.
Definition at line 36 of file multi_variate_multi_optima_function.h.
using num_prob_collect::opt::multi_variate_multi_optima_function::hessian_type = Eigen::MatrixXd |
Type of Hessian.
Definition at line 45 of file multi_variate_multi_optima_function.h.
Type of function values.
Definition at line 42 of file multi_variate_multi_optima_function.h.
using num_prob_collect::opt::multi_variate_multi_optima_function::variable_type = Eigen::VectorXd |
Type of variables.
Definition at line 39 of file multi_variate_multi_optima_function.h.
|
inline |
Constructor.
[in] | optimal_variables | Optimal variables. |
[in] | optimal_values | Optimal values. |
[in] | coefficients | Coefficients for optima. |
Definition at line 54 of file multi_variate_multi_optima_function.h.
|
inlinenodiscardnoexcept |
Get the coefficients for optima.
Definition at line 109 of file multi_variate_multi_optima_function.h.
|
inlinenoexcept |
Evaluate function value on variable.
[in] | variable | Variable. |
Definition at line 65 of file multi_variate_multi_optima_function.h.
|
inlinenodiscardnoexcept |
Get the optimal values.
Definition at line 99 of file multi_variate_multi_optima_function.h.
|
inlinenodiscardnoexcept |
Get the optimal variables.
Definition at line 89 of file multi_variate_multi_optima_function.h.
|
inlinenodiscardnoexcept |
Get function value.
Definition at line 80 of file multi_variate_multi_optima_function.h.
|
private |
Coefficients for optima.
Definition at line 121 of file multi_variate_multi_optima_function.h.
|
private |
Optimal values.
Definition at line 118 of file multi_variate_multi_optima_function.h.
|
private |
Optimal variables.
Definition at line 115 of file multi_variate_multi_optima_function.h.
|
private |
Function value.
Definition at line 124 of file multi_variate_multi_optima_function.h.