On Fri, Oct 21, 2011 at 3:49 PM, Chris Smith wrote:
> I just noticed in Integer, too, the invert method which gives the
> multiplicative inverse mode n of a number:
>
> >>> invert(S(3),5)
> 2
> >>> (3*2)%5 == 1
> True
> >>> invert(S(4),6)
> Traceback (most recent call last):
> File "", line 1, i
I've had few free minutes to add a VERY simple backend that uses textplot.
So now there are two simple backends that you can look at (MatplotlibBackend
and TextBackend). The rest of the code is not readable at all for the
moment, but you may be interested to see how simple the backends are.
I'll
This time with multiple backends.
Please see the prototype in https://github.com/sympy/sympy/pull/673
What do you think about the interface proposed in test.py?
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to symp
I just noticed in Integer, too, the invert method which gives the
multiplicative inverse mode n of a number:
>>> invert(S(3),5)
2
>>> (3*2)%5 == 1
True
>>> invert(S(4),6)
Traceback (most recent call last):
File "", line 1, in
File "sympy\polys\polytools.py", line 4249, in invert
return f.