.. index:: pair: namespace; gpr::quantum::ratepost .. _doxid-namespacegpr_1_1quantum_1_1ratepost: namespace gpr::quantum::ratepost ================================ .. toctree:: :hidden: struct_gpr_quantum_ratepost_Ring.rst struct_gpr_quantum_ratepost_Weights.rst .. ref-code-block:: cpp :class: doxyrest-overview-code-block namespace ratepost { // typedefs typedef Eigen::MatrixXd :target:`Matrix`; typedef Eigen::VectorXd :target:`Vector`; typedef std::function<:ref:`Vector`(const :ref:`Vector`&, const :ref:`Matrix`&)> :target:`CurvatureTraceGradient`; // structs struct :ref:`Ring`; struct :ref:`Weights`; // global functions Eigen::Index :target:`siteChannel`(Eigen::Index sites, Eigen::Index site, Eigen::Index component); :ref:`Weights` :target:`logRateWeights`(const :ref:`Ring`& ring, const :ref:`CurvatureTraceGradient`& traceGradient); :ref:`Vector` :target:`packChannels`(const :ref:`Vector`& energies, const std::vector<:ref:`Vector`>& gradients); double :target:`firstOrder`(const :ref:`Weights`& w, const :ref:`Vector`& channels, const std::vector<:ref:`Matrix`>& curvatures = {}); double :target:`variance`(const :ref:`Weights`& w, const :ref:`Matrix`& covariance); double :target:`secondOrderExponent`(const :ref:`Weights`& w, double betaN, const std::vector<:ref:`Vector`>& beadGradients); } // namespace ratepost