def dmp_diff_eval_in(f, m, a, j, u, K):
 if (j > u):
  raise IndexError(('-%s <= j < %s expected, got %s' % (u, u, j)))
 if (not j):
  return dmp_eval(dmp_diff(f, m, u, K), a, u, K)
 return _rec_diff_eval(f, m, a, u, 0, j, K)

def dmp_diff_eval_in ( f , m , a , j , u , K ) : if ( j > u ) : raise IndexError ( ( '-%s <= j < %s expected, got %s' % ( u , u , j ) ) ) if ( not j ) : return dmp_eval ( dmp_diff ( f , m , u , K ) , a , u , K ) return _rec_diff_eval ( f , m , a , u , 0 , j , K )
differentiate and evaluate a polynomial in x_j at a in k[x] .