linear_kernel: Linear kernel

Description Usage Arguments Value Author(s) Examples

View source: R/RcppExports.R

Description

Anisotropic kernel defined by the scalar product.

Usage

1
linear_kernel(x, y, alpha)

Arguments

x

first column vector.

y

second column vector.

alpha

amplitude parameter.

Value

Real value.

Author(s)

Pedro Guarderas pedro.felipe.guarderas@gmail.com.

Examples

1
2
3
4
5
n<-10
x<-matrix( runif( n ), n, 1 )
y<-matrix( runif( n ), n, 1 )
alpha<-0.5
linear_kernel( x, y, alpha )

KRIG documentation built on May 2, 2019, 5:55 a.m.