#include <cmath>
Go to the source code of this file.
|
double | SquaredExponential (double x1, double x2, double l, double s1s2=1.) |
|
double | OrnsteinUhlenbeck (double x1, double x2, double l, double s1s2=1.) |
|
void | gp_covariance (KernelFunction_t kernel, double **cov, double const *x, double const *s, int n, double l) |
|
void | gp_covariance2 (KernelFunction_t kernel, double **cov, double const *x1, double const *s1, int n1, double const *x2, double const *s2, int n2, double l) |
|
double | gp_predict (KernelFunction_t kernel, double *arr2, double const *x2, double const *s2, int n2, double const *arr1, double const *x1, double const *s1, int n1, double len) |
|
double | gp_lnprior (KernelFunction_t kernel, double const *arr1, double const *x1, double const *s1, int n1, double len) |
|
◆ KernelFunction_t
typedef double(* KernelFunction_t) (double, double, double, double) |
◆ SquaredExponential()
double SquaredExponential |
( |
double |
x1, |
|
|
double |
x2, |
|
|
double |
l, |
|
|
double |
s1s2 = 1. |
|
) |
| |
|
inline |
◆ OrnsteinUhlenbeck()
double OrnsteinUhlenbeck |
( |
double |
x1, |
|
|
double |
x2, |
|
|
double |
l, |
|
|
double |
s1s2 = 1. |
|
) |
| |
|
inline |
◆ gp_covariance()
void gp_covariance |
( |
KernelFunction_t |
kernel, |
|
|
double ** |
cov, |
|
|
double const * |
x, |
|
|
double const * |
s, |
|
|
int |
n, |
|
|
double |
l |
|
) |
| |
◆ gp_covariance2()
void gp_covariance2 |
( |
KernelFunction_t |
kernel, |
|
|
double ** |
cov, |
|
|
double const * |
x1, |
|
|
double const * |
s1, |
|
|
int |
n1, |
|
|
double const * |
x2, |
|
|
double const * |
s2, |
|
|
int |
n2, |
|
|
double |
l |
|
) |
| |
◆ gp_predict()
double gp_predict |
( |
KernelFunction_t |
kernel, |
|
|
double * |
arr2, |
|
|
double const * |
x2, |
|
|
double const * |
s2, |
|
|
int |
n2, |
|
|
double const * |
arr1, |
|
|
double const * |
x1, |
|
|
double const * |
s1, |
|
|
int |
n1, |
|
|
double |
len |
|
) |
| |
◆ gp_lnprior()
double gp_lnprior |
( |
KernelFunction_t |
kernel, |
|
|
double const * |
arr1, |
|
|
double const * |
x1, |
|
|
double const * |
s1, |
|
|
int |
n1, |
|
|
double |
len |
|
) |
| |