struct gpr::GaussianProcessRegression::ActivePosteriorState

struct ActivePosteriorState {
    // fields
 
    Observation observations;
    Eigen::VectorXd observation_background_mean;
    std::vector<int> background_subset_ids;
    std::shared_ptr<const KernelOperator> kernel;
    std::shared_ptr<const SpeciesEnvironmentKernel> environment_kernel;
    std::shared_ptr<const ManifoldEnergyForceKernel> cartesian_kernel;
    std::shared_ptr<const AdditivePairKernel> additive_kernel;
    bool includes_pair = true;
    std::string kernel_name = “pair”;
    ConditionalPosterior posterior;
    ResidualFitConditioning conditioning;
    ConditionalKernelProjection kernel_projection;
    Eigen::VectorXd fitted_lengths;
    Eigen::VectorXd fitted_theta;
    Coord mean_positions;
    Eigen::VectorXd mean_weights;
    KernelOperator::MeanFunction background_mean;
    KernelOperator::MeanHessianPreparation background_hessian;
    RefusalAwareHessianPreparation background_hessian_refusal;
    bool background_hessian_exact = false;
    KernelOperator::MeanHessianMatrixFunction background_hessian_matrix;
    double background_mean_offset = 0.0;
    KernelOperator::MeanFunction residual_mean;
    KernelOperator::CrossCovarianceFunction residual_cross;
    KernelOperator::MeanHessianPreparation residual_hessian;
    bool residual_hessian_analytic = false;
    bool residual_hessian_probe_pending = false;
    std::once_flag residual_hessian_probe_once;
    RefusalAwareHessianPreparation residual_hessian_refusal;
    bool residual_hessian_exact = false;
    KernelOperator::MeanHessianMatrixFunction residual_hessian_matrix;
    LaplacePosteriorStamp background;
    double output_mean;
    double output_scale;
    bool hssvd;
 
    // construction
 
    ActivePosteriorState(Observation data, std::shared_ptr<const KernelOperator> active_kernel, ConditionalPosterior fitted, LaplacePosteriorStamp background_stamp, double mean, double scale, bool use_hssvd);
 
    // methods
 
    bool residualCurvatureRefused() const;
};