Loading...
Searching...
No Matches
LBFGS.h File Reference
#include <Eigen/Core>
#include <deque>
#include <functional>
#include "../../backend/Macros.h"
#include "../../structures/Structures.h"

Go to the source code of this file.

Namespaces

namespace  gpr
 Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
namespace  gpr::optim

Functions

void gpr::optim::excludeNonPositiveCurvatureBlock (Eigen::VectorXd &s, Eigen::VectorXd &y, Eigen::Index offset, Eigen::Index length)
double gpr::optim::barzilaiBorweinInverseScale (const Eigen::VectorXd &s, const Eigen::VectorXd &y, double fallback)
 Scalar BB2 inverse-curvature seed for L-BFGS H0.
Eigen::VectorXd gpr::optim::twoLoopRecursion (const std::deque< Eigen::VectorXd > &s_hist, const std::deque< Eigen::VectorXd > &y_hist, const std::deque< double > &rho_hist, const Eigen::VectorXd &force, double H0)
 Nocedal two-loop recursion (the LBFGS kernel).
Eigen::VectorXd gpr::optim::twoLoopRecursion (const std::deque< Eigen::VectorXd > &s_hist, const std::deque< Eigen::VectorXd > &y_hist, const std::deque< double > &rho_hist, const Eigen::VectorXd &force, const std::function< Eigen::VectorXd(const Eigen::VectorXd &)> &apply_H0)
 Two-loop recursion with a caller-supplied H0 application.