final Double[] keys = new Double[len];
for (int i = 0; i < timeSeries.length; i++) {
keys[i] = (double) i;
}
// Calculate the co-variance matrix
final DoubleMatrix2D unlabelled = calculator.evaluate(timeSeries);
// Label it
return new DoubleLabelledMatrix2D(keys, labels, keys, labels, unlabelled.getData());
}
// CompiledFunctionDefinition