.. index:: pair: struct; gpr::AtomicInducingPosterior::Impl .. _doxid-structgpr_1_1_atomic_inducing_posterior_1_1_impl: struct gpr::AtomicInducingPosterior::Impl ========================================= .. toctree:: :hidden: struct_gpr_AtomicInducingPosterior_Impl_Environment.rst struct_gpr_AtomicInducingPosterior_Impl_Evaluation.rst struct_gpr_AtomicInducingPosterior_Impl_Parameters.rst struct_gpr_AtomicInducingPosterior_Impl_PendingEvaluation.rst struct_gpr_AtomicInducingPosterior_Impl_PriorTracePair.rst struct_gpr_AtomicInducingPosterior_Impl_Statistics.rst struct_gpr_AtomicInducingPosterior_Impl_TrainingEnvironment.rst struct_gpr_AtomicInducingPosterior_Impl_Whitening.rst Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block struct Impl { // structs struct :ref:`Environment`; struct :ref:`Evaluation`; struct :ref:`Parameters`; struct :ref:`PendingEvaluation`; struct :ref:`PriorTracePair`; struct :ref:`Statistics`; struct :ref:`TrainingEnvironment`; struct :ref:`Whitening`; // fields std::shared_ptr`> :target:`communication`; :ref:`Observation` :target:`observations`; :ref:`SpeciesEnvironmentKernel::Descriptor` :target:`descriptor`; :ref:`SpeciesEnvironmentKernel::Descriptor` :target:`values_descriptor`; :ref:`SpeciesEnvironmentKernel::SupportedDescriptor` :target:`supported_descriptor`; :ref:`Basis` :target:`basis`; std::vector :target:`species`; std::vector<:ref:`TrainingEnvironment`> :target:`local_environments`; double :target:`relative_jitter` = 0.0; double :target:`energy_reference` = 0.0; bool :target:`prepared` = false; bool :target:`fitted` = false; :ref:`Parameters` :target:`fitted_parameters`; Matrix :target:`inducing_lower`; std::unique_ptr<:ref:`linalg::KernelInverse`> :target:`posterior_factor`; Vector :target:`coefficients`; std::mutex :target:`pending_mutex`; std::unique_ptr<:ref:`PendingEvaluation`> :target:`pending_evaluation`; // methods void :target:`clearPending`(); void :target:`retainEvaluation`(const Vector& theta, :ref:`Evaluation` evaluation); std::unique_ptr<:ref:`PendingEvaluation`> :target:`takePending`(const Vector& theta); :ref:`linalg::MpiContext` :target:`context`() const; Eigen::Index :target:`dimensions`() const; Eigen::Index :target:`parameters`() const; void :target:`clearFit`(); void :target:`requireFit`() const; template void :target:`validateValues`(const Environments& environment) const; void :target:`validateEnvironment`(const :ref:`AtomicEnvironments`& environment) const; :ref:`Environment` :target:`cacheEnvironment`(:ref:`AtomicEnvironments` environment) const; :ref:`Environment` :target:`cacheEnvironment`(:ref:`SupportedAtomicEnvironments` environment) const; :ref:`Environment` :target:`descriptorRows`(const Vector& position) const; std::vector<:ref:`PriorTracePair`> :target:`cachePriorTrace`(const :ref:`Environment`& environment) const; Vector :target:`priorTrace`(const std::vector<:ref:`PriorTracePair`>& pairs, const :ref:`Parameters`& params) const; :ref:`Parameters` :target:`parse`(const Vector& theta) const; std::vector :target:`inducingKernel`(const :ref:`Parameters`& params) const; :ref:`Whitening` :target:`whitening`(const :ref:`Parameters`& params) const; std::vector :target:`crossRows`(const :ref:`Environment`& cached, const :ref:`Parameters`& params, bool derivatives, bool energy_only = false) const; std::vector :ref:`priorDiagonal`(const :ref:`Environment`& cached, const :ref:`Parameters`& params, bool derivatives, bool energy_only = false) const; Matrix :target:`priorBlock`(const :ref:`Environment`& left, const :ref:`Environment`& right, const :ref:`Parameters`& params) const; :ref:`Statistics` :target:`statistics`(const :ref:`Parameters`& params, const :ref:`Whitening`& transform) const; :ref:`Evaluation` :target:`evaluate`(const Vector& theta) const; :ref:`Environment` :target:`query`(const Eigen::VectorXd& position) const; :ref:`Environment` :target:`queryValues`(const Eigen::VectorXd& position) const; void :target:`validateQueries`(const :ref:`EigenMatrix`& positions) const; static Matrix :target:`whitenRows`(const Matrix& rows, const Matrix& lower); }; .. _details-structgpr_1_1_atomic_inducing_posterior_1_1_impl: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; priorDiagonal .. _doxid-structgpr_1_1_atomic_inducing_posterior_1_1_impl_1ae174f861e8f26bd668d042d256148fa8: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector priorDiagonal(const :ref:`Environment`& cached, const :ref:`Parameters`& params, bool derivatives, bool energy_only = false) const Direct prior diagonals require only vectors of Cartesian components.