(f, g, u, K)
Half extended Euclidean algorithm in `F[X]`.

    Examples
    ========

    >>> from sympy.polys import ring, ZZ
    >>> R, x,y = ring("x,y", ZZ)
Half extended Euclidean algorithm in `F[X]`.
Half extended Euclidean algorithm in F [ X ] .
def dmp_half_gcdex(f, g, u, K):
    """
    Half extended Euclidean algorithm in `F[X]`.

    Examples
    ========

    >>> from sympy.polys import ring, ZZ
    >>> R, x,y = ring("x,y", ZZ)

    """
    if not u:
        return dup_half_gcdex(f, g, K)
    else:
        raise MultivariatePolynomialError(f, g)
def dmp_half_gcdex ( f , g , u , K ) : if not u : return dup_half_gcdex ( f , g , K ) else : raise MultivariatePolynomialError ( f , g )