.. index:: pair: class; gpr::bo::SquaredExponential .. _doxid-classgpr_1_1bo_1_1_squared_exponential: class gpr::bo::SquaredExponential ================================= .. toctree:: :hidden: Overview ~~~~~~~~ k(r^2) = variance \* exp(-r^2 / 2). The value at zero is the variance. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class SquaredExponential { public: // construction :target:`SquaredExponential`(double variance = 1.0); // methods double :target:`operator()`(double squared_distance) const; double :ref:`derivative`(double squared_distance) const; double :target:`secondDerivative`(double squared_distance) const; double :target:`variance`() const; }; .. _details-classgpr_1_1bo_1_1_squared_exponential: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ k(r^2) = variance \* exp(-r^2 / 2). The value at zero is the variance. Methods ------- .. index:: pair: function; derivative .. _doxid-classgpr_1_1bo_1_1_squared_exponential_1ac01f01e7d93ada366b91138303ae89ea: .. ref-code-block:: cpp :class: doxyrest-title-code-block double derivative(double squared_distance) const Right-hand derivatives of operator() with respect to its argument.