20 #ifndef __MLPACK_CORE_OPTIMIZERS_LBFGS_TEST_FUNCTIONS_HPP 21 #define __MLPACK_CORE_OPTIMIZERS_LBFGS_TEST_FUNCTIONS_HPP 40 namespace optimization {
60 double Evaluate(
const arma::mat& coordinates);
61 void Gradient(
const arma::mat& coordinates, arma::mat& gradient);
90 double Evaluate(
const arma::mat& coordinates);
91 void Gradient(
const arma::mat& coordinates, arma::mat& gradient);
125 double Evaluate(
const arma::mat& coordinates)
const;
126 void Gradient(
const arma::mat& coordinates, arma::mat& gradient)
const;
129 double Evaluate(
const arma::mat& coordinates,
const size_t i)
const;
130 void Gradient(
const arma::mat& coordinates,
132 arma::mat& gradient)
const;
151 double Evaluate(
const arma::mat& coordinates);
152 void Gradient(
const arma::mat& coordinates, arma::mat& gradient);
166 #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.
void Gradient(const arma::mat &coordinates, arma::mat &gradient)
double Evaluate(const arma::mat &coordinates)
size_t NumFunctions() const
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...
Include all of the base components required to write MLPACK methods, and the main MLPACK Doxygen docu...
GeneralizedRosenbrockFunction rf
const arma::mat & GetInitialPoint() const