class gpr::bo::RadialShape¶
Overview¶
One of SquaredExponential, Matern32 and Matern52 behind a tag. More…
#include <gpr/bo/StationaryKernel.h>
class RadialShape {
public:
// construction
RadialShape(RadialKind kind, double variance = 1.0);
// methods
double operator()(double squared_distance) const;
double derivative(double squared_distance) const;
double secondDerivative(double squared_distance) const;
double variance() const;
RadialKind kind() const;
};
Detailed Documentation¶
One of SquaredExponential, Matern32 and Matern52 behind a tag.
It has the members of those classes, so it is a radial function of a StationaryKernel whose shape is chosen by a caller at run time, as the C API does.
Methods¶
double derivative(double squared_distance) const
Right-hand derivative of operator() with respect to its argument.