.. index:: pair: struct; gpr::derivatives::RadialMeanExpansion .. _doxid-structgpr_1_1derivatives_1_1_radial_mean_expansion: struct gpr::derivatives::RadialMeanExpansion ============================================ .. toctree:: :hidden: Overview ~~~~~~~~ m(q) = sigma^2 sum_i [w_i phi(s_i) + g_i . :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct RadialMeanExpansion { // fields :ref:`RadialProfile` :target:`profile` = :ref:`RadialProfile::SquaredExponential`; double :ref:`magnitude` = 1.0; Eigen::MatrixXd :ref:`centers`; Eigen::VectorXd :ref:`energy_weights`; Eigen::MatrixXd :ref:`gradient_weights`; // methods bool :target:`valid`() const; }; .. _details-structgpr_1_1derivatives_1_1_radial_mean_expansion: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ m(q) = sigma^2 sum_i [w_i phi(s_i) + g_i . grad_c phi(norm(q - c)^2) at c = c_i], the posterior mean of energy and gradient observations at centres c_i. Fields ------ .. index:: pair: variable; magnitude .. _doxid-structgpr_1_1derivatives_1_1_radial_mean_expansion_1a234a9876d84d1ec9480084f0a61a6f3a: .. ref-code-block:: cpp :class: doxyrest-title-code-block double magnitude = 1.0 sigma^2 .. index:: pair: variable; centers .. _doxid-structgpr_1_1derivatives_1_1_radial_mean_expansion_1a1a5d3fedd89deb822105bdfee2c2bef5: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::MatrixXd centers n x m centre descriptors .. index:: pair: variable; energy_weights .. _doxid-structgpr_1_1derivatives_1_1_radial_mean_expansion_1ab1a78eb1d4801ea35e9c667f7ae781aa: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::VectorXd energy_weights n energy weights w .. index:: pair: variable; gradient_weights .. _doxid-structgpr_1_1derivatives_1_1_radial_mean_expansion_1afc5b0f6ba86b43235283c015ccc01256: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::MatrixXd gradient_weights n x m descriptor gradient weights g