Example #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)
Example #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)
Example #3
0
File: homset.py Project: 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)
Example #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)