Skip to contents

Exponential kernel function

Usage

exponential_kernel(x, x_prime, sigma)

Arguments

x

A scalar representing the first input point

x_prime

A scalar or vector representing the second input point(s)

sigma

The length scale parameter, controlling the rate of decay