def dup_max_norm(f, K):
 if (not f):
  return K.zero
 else:
  return max(dup_abs(f, K))

def dup_max_norm ( f , K ) : if ( not f ) : return K . zero else : return max ( dup_abs ( f , K ) )
returns maximum norm of a polynomial in k[x] .