Loading...
Searching...
No Matches
SecantCurvature.h File Reference
#include <Eigen/Cholesky>
#include <Eigen/Core>
#include <Eigen/Eigenvalues>
#include <Eigen/QR>
#include <cmath>
#include <iosfwd>
#include <limits>
#include <optional>
#include <stdexcept>
#include <utility>
#include <vector>
#include "gpr/optimization/SecantHessian.h"

Go to the source code of this file.

Classes

struct  gpr::optim::SecantCurvatureCounts
struct  gpr::optim::SecantSeed
struct  gpr::optim::SecantNewtonFactor
struct  gpr::optim::SecantForceSample

Namespaces

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

Enumerations

enum class  gpr::optim::SecantAccounting { gpr::optim::Count , gpr::optim::AlreadyCounted }
enum class  gpr::optim::SecantSeedStatus {
  gpr::optim::Seeded , gpr::optim::NoAcceptedPair , gpr::optim::DimensionMismatch , gpr::optim::NoResolvedCurvature ,
  gpr::optim::NoCurrentDirection , gpr::optim::NotPositiveDefinite
}
enum class  gpr::optim::SecantSeedSupport { gpr::optim::WholeHessian , gpr::optim::MeasuredSteps }

Functions

void gpr::optim::writeSecantCurvatureCounts (std::ostream &out, const SecantCurvatureCounts &counts)
void gpr::optim::recordSecantObservation (SecantHessian &secant, const Eigen::VectorXd &position, const Eigen::VectorXd &gradient, double energy, SecantCurvatureCounts &counts, SecantAccounting accounting=SecantAccounting::Count)
const char * gpr::optim::secantSeedStatusName (SecantSeedStatus status) noexcept
std::optional< Eigen::VectorXd > gpr::optim::secantResolvedNegativeMode (const SecantHessian &secant)
SecantSeed gpr::optim::secantSeedDirection (const SecantHessian &secant, const Eigen::VectorXd &current_direction)
std::optional< double > gpr::optim::secantPositiveInverseScale (const SecantHessian &secant)
SecantNewtonFactor gpr::optim::secantNewtonFactor (const SecantHessian &secant)
SecantSeedStatus gpr::optim::seedHessianOnSecantRange (Eigen::MatrixXd &model, const Eigen::MatrixXd &secant_hessian)
SecantSeedStatus gpr::optim::seedHessianOnMeasuredStepRange (Eigen::MatrixXd &model, const Eigen::MatrixXd &secant_hessian, const Eigen::MatrixXd &measured_steps)
SecantSeedStatus gpr::optim::seedHessianFromSecant (Eigen::MatrixXd &model, const SecantHessian &secant, const Eigen::MatrixXd &weight, SecantSeedSupport support=SecantSeedSupport::WholeHessian)
template<class Prior>
SecantHessian gpr::optim::secantFittedToResidual (SecantHessianMethod method, const std::vector< SecantForceSample > &samples, Prior &&prior)