m2m模型翻译
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

15 lines
369 B

"""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)