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.
1 parent 7d142ae commit a3fa1f1Copy full SHA for a3fa1f1
symengine/lib/symengine_wrapper.pyx
@@ -1860,6 +1860,16 @@ class Pow(Basic):
1860
def __new__(cls, a, b):
1861
return _sympify(a) ** b
1862
1863
+ @property
1864
+ def base(Basic self):
1865
+ cdef RCP[const symengine.Pow] X = symengine.rcp_static_cast_Pow(self.thisptr)
1866
+ return c2py(deref(X).get_base())
1867
+
1868
1869
+ def exp(Basic self):
1870
1871
+ return c2py(deref(X).get_exp())
1872
1873
@property
1874
def is_Pow(self):
1875
return True
0 commit comments