covariance__functions::CovFunc

Search for usage in LXR

covariance_functions::CovFunc Class Referenceabstract

#include <covariance_functions.h>

Inheritance diagram for covariance_functions::CovFunc:

Public Member Functions

virtual CovFuncclone () const =0
 
virtual Eigen::MatrixXd evaluate (const Eigen::VectorXd &x1, const Eigen::VectorXd &x2)=0
 
virtual int getExtraParameterCount () const =0
 
virtual const Eigen::VectorXd & getExtraParameters () const =0
 
virtual int getParameterCount () const =0
 
virtual const Eigen::VectorXd & getParameters () const =0
 
virtual void setExtraParameters (const Eigen::VectorXd &params)=0
 
virtual void setParameters (const Eigen::VectorXd &params)=0
 

Detailed Description

Base class definition for covariance functions.

Definition at line 35 of file covariance_functions.h.

Constructor & Destructor Documentation

◆ CovFunc()

covariance_functions::CovFunc::CovFunc ( )
inline

Definition at line 38 of file covariance_functions.h.

◆ ~CovFunc()

virtual covariance_functions::CovFunc::~CovFunc ( )
inlinevirtual

Definition at line 39 of file covariance_functions.h.

Member Function Documentation

◆ clone()

virtual CovFunc * covariance_functions::CovFunc::clone ( ) const
pure virtual

Produces a clone to be able to copy the object.

Implemented in covariance_functions::PeriodicSquareExponential2, and covariance_functions::PeriodicSquareExponential.

◆ evaluate()

virtual Eigen::MatrixXd covariance_functions::CovFunc::evaluate ( const Eigen::VectorXd & x1,
const Eigen::VectorXd & x2 )
pure virtual

Evaluates the covariance function, caches the quantities that are needed to calculate gradient and Hessian.

Implemented in covariance_functions::PeriodicSquareExponential2, and covariance_functions::PeriodicSquareExponential.

◆ getParameterCount()

virtual int covariance_functions::CovFunc::getParameterCount ( ) const
pure virtual

Returns the number of hyper-parameters.

Implemented in covariance_functions::PeriodicSquareExponential2, and covariance_functions::PeriodicSquareExponential.

◆ getParameters()

virtual const Eigen::VectorXd & covariance_functions::CovFunc::getParameters ( ) const
pure virtual

◆ setParameters()

virtual void covariance_functions::CovFunc::setParameters ( const Eigen::VectorXd & params)
pure virtual

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:01:06 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.