(f)
return (sig_key(Sign(f), Polyn(f).ring.order), -Num(f))
Key for comparing two labeled polynomials.
Key for comparing two labeled polynomials.
Key for comparing two labeled polynomials .
def lbp_key(f):
    """
    Key for comparing two labeled polynomials.
    """
    return (sig_key(Sign(f), Polyn(f).ring.order), -Num(f))
def lbp_key ( f ) : return ( sig_key ( Sign ( f ) , Polyn ( f ) . ring . order ) , - Num ( f ) )