mlpack
master
|
The Generalized Rosenbrock function in 4 dimensions with the Wood Function in four dimensions. More...
Public Member Functions | |
RosenbrockWoodFunction () | |
double | Evaluate (const arma::mat &coordinates) |
const arma::mat & | GetInitialPoint () const |
void | Gradient (const arma::mat &coordinates, arma::mat &gradient) |
Private Attributes | |
arma::mat | initialPoint |
GeneralizedRosenbrockFunction | rf |
WoodFunction | wf |
The Generalized Rosenbrock function in 4 dimensions with the Wood Function in four dimensions.
In this function we are actually optimizing a 2x4 matrix of coordinates, not a vector.
Definition at line 144 of file test_functions.hpp.
mlpack::optimization::test::RosenbrockWoodFunction::RosenbrockWoodFunction | ( | ) |
double mlpack::optimization::test::RosenbrockWoodFunction::Evaluate | ( | const arma::mat & | coordinates | ) |
const arma::mat& mlpack::optimization::test::RosenbrockWoodFunction::GetInitialPoint | ( | ) | const |
void mlpack::optimization::test::RosenbrockWoodFunction::Gradient | ( | const arma::mat & | coordinates, |
arma::mat & | gradient | ||
) |
|
private |
Definition at line 155 of file test_functions.hpp.
|
private |
Definition at line 156 of file test_functions.hpp.
|
private |
Definition at line 157 of file test_functions.hpp.