import work from sqrt on smpl for absPoly and this_append_before
This commit is contained in:
parent
019b256d2f
commit
6ca6cff6e2
@ -385,6 +385,8 @@ class AbstractPolynom(Explicable):
|
|||||||
|
|
||||||
def simplify(self):
|
def simplify(self):
|
||||||
"""Same as reduce """
|
"""Same as reduce """
|
||||||
|
if isNumber(self._letter):
|
||||||
|
return self.replace_letter(self._letter).simplify()
|
||||||
return self.reduce()
|
return self.reduce()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -124,7 +124,7 @@ class Explicable(Renderable):
|
|||||||
>>> print(e.steps)
|
>>> print(e.steps)
|
||||||
['cook', 'eat', 'sleep']
|
['cook', 'eat', 'sleep']
|
||||||
"""
|
"""
|
||||||
self.steps = steps + self.steps
|
self.steps = list(steps) + self.steps
|
||||||
|
|
||||||
def steal_history(self, arg1):
|
def steal_history(self, arg1):
|
||||||
""" Steal the history of arg1 for itself
|
""" Steal the history of arg1 for itself
|
||||||
|
Loading…
Reference in New Issue
Block a user