*/
public double[] createCoefficients() {
final double[] result = new double[this.pointCount];
final Matrix delts = new Matrix(this.pointCount, this.pointCount);
final double[][] t = delts.getData();
for (int j = 0; j < this.pointCount; j++) {
final double delt = (j - this.center);
double x = 1.0;
for (int k = 0; k < this.pointCount; k++) {
t[j][k] = x / EncogMath.factorial(k);
x *= delt;
}
}
final Matrix invMatrix = delts.inverse();
final double f = EncogMath.factorial(this.pointCount);
for (int k = 0; k < this.pointCount; k++) {
result[k] = (Math
.round(invMatrix.getData()[1][k]* f))/ f;
}
return result;