Learn R Programming

BAREB (version 0.1.2)

kernelC: The function to get the kernel function value

Description

This function take two configurations x and y, two parameters of the kernel function and returns its kernel function value.

Usage

kernelC(x,y,theta,tau)

Value

kernelC(x,y,theta,tau) returns the value of the kernel function

Arguments

x

a numeric vector, representing one configuration

y

a numeric vector, representing one configuration

theta

a parameter of the DPP's kernel function

tau

a parameter of the DPP's kernel function

Author

Yuliang Li

See Also

update_RJ for a complete example for all functions in this package.

Examples

Run this code
  x <- rnorm(5)
  y <- rnorm(5) + 1
  kernelC(x,y,1,1)

Run the code above in your browser using DataLab