#include <covarianceFunctions.h>
Public Member Functions | |
CovFunc2D () | |
CovFunc2D (double ell_0, double ell_1, double sigma) | |
virtual double | getCov (const TDoubleVector &x, const TDoubleVector &y) |
virtual double | getDerivative (const TDoubleVector &p1, const TDoubleVector &p2, int parameter) |
virtual int | getNumParameter () |
void | setHyperparameter (vector< double > &newHyperParam) |
void | setHyperparameter (double ell_0, double ell_1, double sigma) |
Public Attributes | |
double | ell_0 |
double | ell_1 |
double | sigma |
Definition at line 24 of file covarianceFunctions.h.
Definition at line 64 of file covarianceFunctions.cpp.
CovFunc2D::CovFunc2D | ( | double | ell_0, |
double | ell_1, | ||
double | sigma | ||
) |
Definition at line 69 of file covarianceFunctions.cpp.
double CovFunc2D::getCov | ( | const TDoubleVector & | x, |
const TDoubleVector & | y | ||
) | [virtual] |
Implements CovFunc< TDoubleVector >.
Definition at line 94 of file covarianceFunctions.cpp.
double CovFunc2D::getDerivative | ( | const TDoubleVector & | p1, |
const TDoubleVector & | p2, | ||
int | parameter | ||
) | [virtual] |
Implements CovFunc< TDoubleVector >.
Definition at line 104 of file covarianceFunctions.cpp.
int CovFunc2D::getNumParameter | ( | ) | [virtual] |
Implements CovFunc< TDoubleVector >.
Definition at line 125 of file covarianceFunctions.cpp.
void CovFunc2D::setHyperparameter | ( | vector< double > & | newHyperParam | ) | [virtual] |
Reimplemented from CovFunc< TDoubleVector >.
Definition at line 74 of file covarianceFunctions.cpp.
void CovFunc2D::setHyperparameter | ( | double | ell_0, |
double | ell_1, | ||
double | sigma | ||
) |
Definition at line 83 of file covarianceFunctions.cpp.
double CovFunc2D::ell_0 |
Definition at line 38 of file covarianceFunctions.h.
double CovFunc2D::ell_1 |
Definition at line 39 of file covarianceFunctions.h.
double CovFunc2D::sigma |
Definition at line 40 of file covarianceFunctions.h.