Canoe
Comprehensive Atmosphere N' Ocean Engine
gaussian_process.cpp File Reference
#include "gaussian_process.hpp"
#include <climath/linalg.h>
#include <Eigen/Dense>
#include <cmath>
#include <iostream>
#include <utils/ndarrays.hpp>

Go to the source code of this file.

Functions

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)
 

Function Documentation

◆ gp_covariance()

void gp_covariance ( KernelFunction_t  kernel,
double **  cov,
double const *  x,
double const *  s,
int  n,
double  l 
)

Definition at line 11 of file gaussian_process.cpp.

◆ 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 
)

Definition at line 19 of file gaussian_process.cpp.

◆ 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 
)

Definition at line 28 of file gaussian_process.cpp.

◆ gp_lnprior()

double gp_lnprior ( KernelFunction_t  kernel,
double const *  arr1,
double const *  x1,
double const *  s1,
int  n1,
double  len 
)

Definition at line 59 of file gaussian_process.cpp.