#include <Eigen/Dense>#include <algorithm>#include <cmath>#include <cstdint>#include <limits>#include <vector>#include "../../backend/Macros.h"#include "../../structures/Structures.h"#include "../prior/PriorBase.h"#include "../prior/PriorGaussian.h"#include "../prior/PriorSqrtt.h"#include "../prior/PriorT.h"#include "MapPriorBarrier.h"Go to the source code of this file.
Classes | |
| struct | funcmin::MapObjectiveConfig |
Namespaces | |
| namespace | funcmin |
Functions | |
| bool | funcmin::mapParametersInDomain (const Eigen::VectorXd &w, const MapObjectiveConfig &cfg) |
| void | funcmin::projectMapGradient (const MapObjectiveConfig &cfg, Eigen::VectorXd &gradient) |
| double | funcmin::mapHalfCauchyASq (double signal_variance) noexcept |
| double | funcmin::mapMaxLogMagnSigma2 (double signal_variance) noexcept |
| void | funcmin::restoreMapAmplitudeFeasibility (Eigen::VectorXd &w, const MapObjectiveConfig &cfg) |
| double | funcmin::mapLengthscaleRho0 (const MapObjectiveConfig &cfg, Eigen::Index i) noexcept |
| Eigen::Index | funcmin::mapLengthscaleEnd (const MapObjectiveConfig &cfg, Eigen::Index size) noexcept |
| double | funcmin::mapMedianInPlace (std::vector< double > &v) noexcept |
| double | funcmin::mapRobustMadVariance (const Eigen::VectorXd &block) |
| double | funcmin::mapForceImpliedSignalVariance (const gpr::EigenMatrix &x, Eigen::Index n_e, const Eigen::VectorXd &y, const Eigen::VectorXd &w) |
| double | funcmin::mapRobustSignalVarianceAnchor (const gpr::EigenMatrix &x, Eigen::Index n_e, const Eigen::VectorXd &y, const Eigen::VectorXd &w) |
| double | funcmin::mapBayesPriorWeight (const MapObjectiveConfig &cfg) noexcept |
| bool | funcmin::mapLogNormalMagnPriorActive (const MapObjectiveConfig &cfg) noexcept |
| bool | funcmin::mapMagnPriorActive (const MapObjectiveConfig &cfg) noexcept |
| double | funcmin::mapPriorWeight (const MapObjectiveConfig &cfg, Eigen::Index i, Eigen::Index count) noexcept |
| bool | funcmin::mapLengthscalePriorActive (const MapObjectiveConfig &cfg) noexcept |
| void | funcmin::mapConfigFromSettings (const gpr::ScgOptimizationSettings &settings, MapObjectiveConfig &cfg) |
| MapObjectiveConfig | funcmin::makeMapObjectiveConfig (const gpr::EigenMatrix &x, const Eigen::VectorXd &y, const Eigen::VectorXd &w, double current_barrier_strength, const Eigen::VectorXd &lengthscale_rho0, const gpr::ScgOptimizationSettings &settings, bool robust_signal_anchor=true) |
| void | funcmin::applyMapPenalty (const Eigen::VectorXd &w, const MapObjectiveConfig &cfg, double &energy, Eigen::VectorXd *gradient) |
| bool | funcmin::applyMapPenaltyGradient (const Eigen::VectorXd &w, const MapObjectiveConfig &cfg, Eigen::VectorXd &gradient) |
| double | funcmin::mapPenaltyDirectionalCurvature (const Eigen::VectorXd &w, const Eigen::VectorXd &direction, const MapObjectiveConfig &cfg) |
| void | funcmin::mapPenaltyHessianVector (const Eigen::VectorXd &w, const Eigen::VectorXd &direction, const MapObjectiveConfig &cfg, Eigen::VectorXd &product) |
Variables | |
| constexpr double | funcmin::kMapStudentTNu = 4.0 |
| Weakly-informative Student-t hyperparameters on lengthscales. | |
| constexpr double | funcmin::kMapStudentTSigmaSq = 1.0 |
| constexpr double | funcmin::kMapStudentTNorm = 0.5 * (kMapStudentTNu + 1.0) |
| constexpr double | funcmin::kMadConsistencyConstant = 1.4826 |