.TH "mlpack::optimization::test::RosenbrockFunction" 3 "Tue Sep 9 2014" "Version 1.0.10" "MLPACK" \" -*- nroff -*- .ad l .nh .SH NAME mlpack::optimization::test::RosenbrockFunction \- .PP The Rosenbrock function, defined by f(x) = f1(x) + f2(x) f1(x) = 100 (x2 - x1^2)^2 f2(x) = (1 - x1)^2 x_0 = [-1\&.2, 1]\&. .SH SYNOPSIS .br .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBRosenbrockFunction\fP ()" .br .ti -1c .RI "double \fBEvaluate\fP (const arma::mat &coordinates)" .br .ti -1c .RI "const arma::mat & \fBGetInitialPoint\fP () const " .br .ti -1c .RI "void \fBGradient\fP (const arma::mat &coordinates, arma::mat &gradient)" .br .in -1c .SS "Private Attributes" .in +1c .ti -1c .RI "arma::mat \fBinitialPoint\fP" .br .in -1c .SH "Detailed Description" .PP The Rosenbrock function, defined by f(x) = f1(x) + f2(x) f1(x) = 100 (x2 - x1^2)^2 f2(x) = (1 - x1)^2 x_0 = [-1\&.2, 1]\&. This should optimize to f(x) = 0, at x = [1, 1]\&. .PP 'An automatic method for finding the greatest or least value of a function\&.' H\&.H\&. Rosenbrock\&. 1960\&. Comput\&. J\&. 3\&., 175-184\&. .PP Definition at line 63 of file test_functions\&.hpp\&. .SH "Constructor & Destructor Documentation" .PP .SS "mlpack::optimization::test::RosenbrockFunction::RosenbrockFunction ()" .SH "Member Function Documentation" .PP .SS "double mlpack::optimization::test::RosenbrockFunction::Evaluate (const arma::mat &coordinates)" .SS "const arma::mat& mlpack::optimization::test::RosenbrockFunction::GetInitialPoint () const" .SS "void mlpack::optimization::test::RosenbrockFunction::Gradient (const arma::mat &coordinates, arma::mat &gradient)" .SH "Member Data Documentation" .PP .SS "arma::mat mlpack::optimization::test::RosenbrockFunction::initialPoint\fC [private]\fP" .PP Definition at line 74 of file test_functions\&.hpp\&. .SH "Author" .PP Generated automatically by Doxygen for MLPACK from the source code\&.