Exemple #1
0
 def gcd(self, a, b):
     """Compute GCD of ``a`` and ``b``. """
     return python_gcd(a, b)
Exemple #2
0
 def gcd(self, a, b):
     """Compute GCD of ``a`` and ``b``. """
     return SymPyIntegerType(python_gcd(int(a), int(b)))
Exemple #3
0
 def gcd(self, a, b):
     """Compute GCD of ``a`` and ``b``. """
     return python_gcd(a, b)
Exemple #4
0
 def gcd(self, a, b):
     """Compute GCD of ``a`` and ``b``. """
     return SymPyIntegerType(python_gcd(int(a), int(b)))