kerSEmat: Squared exponential kernel

View source: R/kernel-SE.R

kerSEmatR Documentation

Squared exponential kernel

Description

Squared exponential kernel

Usage

kerSEmat(x, x0 = NULL, len = 1)

Arguments

x

Vector of scalar parameters, or matrix of vector parameters.

x0

New parameter. If provided, computes a covariance vector.

len

Length-scale of correlation, defaults to 1.

x1, x2

Input parameters, real numbers

Value

If only x is provided, a dpoMatrix (positive-semidefinite matrix from Matrix, with Cholesky factor computed). If both are provided, a vector of length nrow(x), if matrix; or length(x), if vector.


rudazhang/gpsr documentation built on March 11, 2023, 5:49 p.m.