1 | initial version |
Just double the equal sign in the substitution:
sage: f(a,b) = a^2+b^3
....: def test(self, symb):
....: return (self-self.subs(symb==(symb-1)))
....: test(f,a)
(a, b) |--> -(a - 1)^2 + a^2
2 | No.2 Revision |
Just double the equal sign in the substitution:
sage: f(a,b) = a^2+b^3
....: sage: def test(self, symb):
....: return (self-self.subs(symb==(symb-1)))
....: test(f,a)
(a, b) |--> -(a - 1)^2 + a^2
3 | No.3 Revision |
Just double the equal sign in the substitution:
sage: f(a,b) = a^2+b^3
sage: def test(self, symb):
....: return (self-self.subs(symb==(symb-1)))
....: sage: test(f,a)
(a, b) |--> -(a - 1)^2 + a^2