polynomials[i] = Pair.of(F1, DF1);
} else {
p1 = polynomials[i - 1].getFirst();
p2 = polynomials[i - 2].getFirst();
p = (p1.multiply(2. * i + alpha - 1).subtract(p1.multiply(getX())).subtract(p2.multiply((i - 1. + alpha))).divide(i));
dp = (p.multiply(i).subtract(p1.multiply(i + alpha))).divide(getX());
polynomials[i] = Pair.of(p, dp);
}
}
return polynomials;
}