23 #ifndef _KERNEL_CONST_HPP_ 24 #define _KERNEL_CONST_HPP_ 42 void init(
size_t input_dim)
43 { n_params = 1; n_inputs = input_dim; };
45 double operator()(
const vectord &x1,
const vectord &x2)
46 {
return params(0); };
48 double gradient(
const vectord &x1,
const vectord &x2,
Namespace of the library interface.
Atomic (simple) kernel functions.
Abstract class for an atomic kernel.