mlpack  master
Public Member Functions | Private Attributes | List of all members
mlpack::optimization::test::RosenbrockWoodFunction Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

mlpack::optimization::test::RosenbrockWoodFunction::RosenbrockWoodFunction ( )

Member Function Documentation

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 
)

Member Data Documentation

arma::mat mlpack::optimization::test::RosenbrockWoodFunction::initialPoint
private

Definition at line 155 of file test_functions.hpp.

GeneralizedRosenbrockFunction mlpack::optimization::test::RosenbrockWoodFunction::rf
private

Definition at line 156 of file test_functions.hpp.

WoodFunction mlpack::optimization::test::RosenbrockWoodFunction::wf
private

Definition at line 157 of file test_functions.hpp.


The documentation for this class was generated from the following file: