poly_to_e2 for derivatives