Exemplo n.º 1
0
def RingHomset(R, S, category=None):
    """
    Construct a space of homomorphisms between the rings ``R`` and ``S``.

    For more on homsets, see :func:`Hom()`.

    EXAMPLES::

        sage: Hom(ZZ, QQ) # indirect doctest
        Set of Homomorphisms from Integer Ring to Rational Field

    """
    if quotient_ring.is_QuotientRing(R):
        return RingHomset_quo_ring(R, S, category=category)
    return RingHomset_generic(R, S, category=category)
Exemplo n.º 2
0
def RingHomset(R, S, category = None):
    """
    Construct a space of homomorphisms between the rings ``R`` and ``S``.

    For more on homsets, see :func:`Hom()`.

    EXAMPLES::

        sage: Hom(ZZ, QQ) # indirect doctest
        Set of Homomorphisms from Integer Ring to Rational Field

    """
    if quotient_ring.is_QuotientRing(R):
        return RingHomset_quo_ring(R, S, category = category)
    return RingHomset_generic(R, S, category = category)
Exemplo n.º 3
0
Arquivo: homset.py Projeto: dagss/sage
def RingHomset(R, S, category = None):
    if quotient_ring.is_QuotientRing(R):
        return RingHomset_quo_ring(R, S, category = category)
    return RingHomset_generic(R, S, category = category)
Exemplo n.º 4
0
def RingHomset(R, S, category=None):
    if quotient_ring.is_QuotientRing(R):
        return RingHomset_quo_ring(R, S, category=category)
    return RingHomset_generic(R, S, category=category)