name: Kernel

synopsis:

g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_numeric.a

#include <Kernel.h>
#include <Kernel.h>

boolean setConstants(const VectorFloat& constants);
boolean compute(float& value, const VectorFloat& x, const VectorFloat& y);
quick start:

// define kernel constants
//
VectorFloat constants(L"1.4");

// define kernel
//
Kernel k;
k.setAlgorithm(Kernel::RBF);
k.setConstants(constants);

// evaluate result = kernel(x, y)
//
VectorFloat x(L"1, 3, 5");
VectorFloat y(L"2, 4, 6");
float result;
k.compute(result, x, y);
description:

The Kernel class is used to evaluate Kernel functions. Equations of the currently supported kernels are shown below:



dependencies:

public constants:

error codes:

protected data:

required public methods:

class-specific public methods:

private methods:

examples:

notes: