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
382 B

7 months ago
  1. """Implementation of :class:`CharacteristicZero` class. """
  2. from sympy.polys.domains.domain import Domain
  3. from sympy.utilities import public
  4. @public
  5. class CharacteristicZero(Domain):
  6. """Domain that has infinite number of elements. """
  7. has_CharacteristicZero = True
  8. def characteristic(self):
  9. """Return the characteristic of this domain. """
  10. return 0