We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3855215 + 439bcb2 commit 4508987Copy full SHA for 4508987
symengine/lib/symengine_wrapper.in.pyx
@@ -1388,6 +1388,10 @@ cdef class Constant(Expr):
1388
def is_number(self):
1389
return True
1390
1391
+ @property
1392
+ def is_Atom(self):
1393
+ return True
1394
+
1395
def _sympy_(self):
1396
raise Exception("Unknown Constant")
1397
symengine/tests/test_number.py
@@ -97,6 +97,7 @@ def test_is_conditions():
97
assert i.is_complex
98
99
assert pi.is_number
100
+ assert pi.is_Atom
101
102
103
def test_perfect_power():
0 commit comments