Macaulay2 » Documentation
Packages » Pullback :: internalUseDirectSum
next | previous | forward | backward | up | index | toc

internalUseDirectSum -- Compute direct sum of two rings.

Synopsis

Description

A method which computes the product of two rings in the category of rings.This function requires that $A$ and $C$ have the same coefficient field and that the variable names of $A$ and $C$ are distinct. The variable names of the two rings in the direct sum ring remain the same. This function was originally going to be internal (hence the name), but may be useful in other cases too. We compute an example
i1 : A = QQ[x];
i2 : C = QQ[y];
i3 : (internalUseDirectSum(A,C))#0

            QQ[x, e1, y]
o3 = --------------------------
        2
     (e1  - e1, x*e1 - x, e1*y)

o3 : QuotientRing

Ways to use internalUseDirectSum :

For the programmer

The object internalUseDirectSum is a method function.