SparseGradient sgX = SparseGradient.createVariable(0, x);
SparseGradient sgY1 = sgX.getField().getZero();
for (int i = poly.degree(); i >= 0; --i) {
sgY1 = sgY1.multiply(sgX).add(poly.getCoefficients()[i]);
}
SparseGradient sgY2 = sgX.compose(poly.value(x), poly.derivative().value(x));
SparseGradient zero = sgY1.subtract(sgY2);
checkF0F1(zero, 0.0, 0.0);
}
}