Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
r""" Gcd domains """ #***************************************************************************** # Copyright (C) 2008 Teresa Gomez-Diaz (CNRS) <Teresa.Gomez-Diaz@univ-mlv.fr> # # Distributed under the terms of the GNU General Public License (GPL) # http://www.gnu.org/licenses/ #******************************************************************************
from sage.categories.category_singleton import Category_singleton from sage.categories.integral_domains import IntegralDomains
class GcdDomains(Category_singleton): """ The category of gcd domains domains where gcd can be computed but where there is no guarantee of factorisation into irreducibles
EXAMPLES::
sage: GcdDomains() Category of gcd domains sage: GcdDomains().super_categories() [Category of integral domains]
TESTS::
sage: TestSuite(GcdDomains()).run() """
def super_categories(self): """ EXAMPLES::
sage: GcdDomains().super_categories() [Category of integral domains] """
def additional_structure(self): """ Return ``None``.
Indeed, the category of gcd domains defines no additional structure: a ring morphism between two gcd domains is a gcd domain morphism.
.. SEEALSO:: :meth:`Category.additional_structure`
EXAMPLES::
sage: GcdDomains().additional_structure() """
class ParentMethods: pass
class ElementMethods: # gcd(x,y) # lcm(x,y) pass |