18 #ifndef MLPACK_CORE_OPTIMIZERS_LBFGS_TEST_FUNCTIONS_HPP 19 #define MLPACK_CORE_OPTIMIZERS_LBFGS_TEST_FUNCTIONS_HPP 38 namespace optimization {
58 double Evaluate(
const arma::mat& coordinates);
59 void Gradient(
const arma::mat& coordinates, arma::mat& gradient);
88 double Evaluate(
const arma::mat& coordinates);
89 void Gradient(
const arma::mat& coordinates, arma::mat& gradient);
123 double Evaluate(
const arma::mat& coordinates)
const;
124 void Gradient(
const arma::mat& coordinates, arma::mat& gradient)
const;
127 double Evaluate(
const arma::mat& coordinates,
const size_t i)
const;
128 void Gradient(
const arma::mat& coordinates,
130 arma::mat& gradient)
const;
149 double Evaluate(
const arma::mat& coordinates);
150 void Gradient(
const arma::mat& coordinates, arma::mat& gradient);
164 #endif // MLPACK_CORE_OPTIMIZERS_LBFGS_TEST_FUNCTIONS_HPP 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...
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
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...
const arma::mat & GetInitialPoint() const
GeneralizedRosenbrockFunction rf
size_t NumFunctions() const