
// <x,x'>
var kernels = new Array({0}),
    kernel;
for (var i = 0; i < {0}; i++) {{
    kernel = 0.;
    for (var j = 0; j < {1}; j++) {{
        kernel += svs[i][j] * atts[j];
    }}
    kernels[i] = kernel;
}}
