Adding all project files
This commit is contained in:
parent
6c9e127bdc
commit
cd4316ad0f
42289 changed files with 8009643 additions and 0 deletions
15
venv/Lib/site-packages/sympy/polys/domains/simpledomain.py
Normal file
15
venv/Lib/site-packages/sympy/polys/domains/simpledomain.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
"""Implementation of :class:`SimpleDomain` class. """
|
||||
|
||||
|
||||
from sympy.polys.domains.domain import Domain
|
||||
from sympy.utilities import public
|
||||
|
||||
@public
|
||||
class SimpleDomain(Domain):
|
||||
"""Base class for simple domains, e.g. ZZ, QQ. """
|
||||
|
||||
is_Simple = True
|
||||
|
||||
def inject(self, *gens):
|
||||
"""Inject generators into this domain. """
|
||||
return self.poly_ring(*gens)
|
Loading…
Add table
Add a link
Reference in a new issue