(f, cx)
return lbp(sig_mult(Sign(f), cx[0]), Polyn(f).mul_term(cx), Num(f))
Multiply a labeled polynomial with a term.

    The product of a labeled polynomial (s, p, k) by a monomial is
    defined as (m * s, m * p, k).
Multiply a labeled polynomial with a term.
Multiply a labeled polynomial with a term .
def lbp_mul_term(f, cx):
    """
    Multiply a labeled polynomial with a term.

    The product of a labeled polynomial (s, p, k) by a monomial is
    defined as (m * s, m * p, k).
    """
    return lbp(sig_mult(Sign(f), cx[0]), Polyn(f).mul_term(cx), Num(f))
def lbp_mul_term ( f , cx ) : return lbp ( sig_mult ( Sign ( f ) , cx [ 0 ] ) , Polyn ( f ) . mul_term ( cx ) , Num ( f ) )