28 #ifndef __MLPACK_CORE_OPTIMIZERS_LBFGS_TEST_FUNCTIONS_HPP
29 #define __MLPACK_CORE_OPTIMIZERS_LBFGS_TEST_FUNCTIONS_HPP
48 namespace optimization {
68 double Evaluate(
const arma::mat& coordinates);
69 void Gradient(
const arma::mat& coordinates, arma::mat& gradient);
98 double Evaluate(
const arma::mat& coordinates);
99 void Gradient(
const arma::mat& coordinates, arma::mat& gradient);
133 double Evaluate(
const arma::mat& coordinates)
const;
134 void Gradient(
const arma::mat& coordinates, arma::mat& gradient)
const;
137 double Evaluate(
const arma::mat& coordinates,
const size_t i)
const;
138 void Gradient(
const arma::mat& coordinates,
140 arma::mat& gradient)
const;
159 double Evaluate(
const arma::mat& coordinates);
160 void Gradient(
const arma::mat& coordinates, arma::mat& gradient);
174 #endif // __MLPACK_CORE_OPTIMIZERS_LBFGS_TEST_FUNCTIONS_HPP
void Gradient(const arma::mat &coordinates, arma::mat &gradient) const
The Generalized Rosenbrock function in n dimensions, defined by f(x) = sum_i^{n - 1} (f(i)(x)) f_i(x)...
The Rosenbrock function, defined by f(x) = f1(x) + f2(x) f1(x) = 100 (x2 - x1^2)^2 f2(x) = (1 - x1)^2...
const arma::mat & GetInitialPoint() const
Linear algebra utility functions, generally performed on matrices or vectors.
void Gradient(const arma::mat &coordinates, arma::mat &gradient)
void Gradient(const arma::mat &coordinates, arma::mat &gradient)
double Evaluate(const arma::mat &coordinates)
The Wood function, defined by f(x) = f1(x) + f2(x) + f3(x) + f4(x) + f5(x) + f6(x) f1(x) = 100 (x2 - ...
The Generalized Rosenbrock function in 4 dimensions with the Wood Function in four dimensions...
double Evaluate(const arma::mat &coordinates) const
const arma::mat & GetInitialPoint() const
const arma::mat & GetInitialPoint() const
void Gradient(const arma::mat &coordinates, arma::mat &gradient)
GeneralizedRosenbrockFunction rf
const arma::mat & GetInitialPoint() const
size_t NumFunctions() const
double Evaluate(const arma::mat &coordinates)
GeneralizedRosenbrockFunction(int n)
double Evaluate(const arma::mat &coordinates)