#include <covarianceFunctions.h>
Public Member Functions | |
CovFunc1D () | |
CovFunc1D (double ell_0, 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 ell0, double sigma) |
Public Attributes | |
double | ell_0 |
double | sigma |
Definition at line 6 of file covarianceFunctions.h.
Definition at line 3 of file covarianceFunctions.cpp.
CovFunc1D::CovFunc1D | ( | double | ell_0, |
double | sigma | ||
) |
Definition at line 8 of file covarianceFunctions.cpp.
double CovFunc1D::getCov | ( | const TDoubleVector & | x, |
const TDoubleVector & | y | ||
) | [virtual] |
Implements CovFunc< TDoubleVector >.
Definition at line 31 of file covarianceFunctions.cpp.
double CovFunc1D::getDerivative | ( | const TDoubleVector & | p1, |
const TDoubleVector & | p2, | ||
int | parameter | ||
) | [virtual] |
Implements CovFunc< TDoubleVector >.
Definition at line 43 of file covarianceFunctions.cpp.
int CovFunc1D::getNumParameter | ( | ) | [virtual] |
Implements CovFunc< TDoubleVector >.
Definition at line 58 of file covarianceFunctions.cpp.
void CovFunc1D::setHyperparameter | ( | vector< double > & | newHyperParam | ) | [virtual] |
Reimplemented from CovFunc< TDoubleVector >.
Definition at line 13 of file covarianceFunctions.cpp.
void CovFunc1D::setHyperparameter | ( | double | ell0, |
double | sigma | ||
) |
Definition at line 21 of file covarianceFunctions.cpp.
double CovFunc1D::ell_0 |
Definition at line 19 of file covarianceFunctions.h.
double CovFunc1D::sigma |
Definition at line 20 of file covarianceFunctions.h.