Further fixes to integrate Complex module with CSymPy

- [x] add
- [x] mul
- [x] pow
- [x] tests
- [ ] expand
Sure I'll update that in the upcoming commits.

Sushant Hiray,
Senior Undergrad CSE,
IIT Bombay




On Sun, Jul 20, 2014 at 9:34 PM, Ondřej Čertík <notifications@github.com>
wrote:

> In src/tests/printing/test_printing.cpp:
>
> >      assert(c1->__str__() == "1/2 + i5/7");
> >      assert(c2->__str__() == "1/2 - i5/7");
> > +    assert(r1->__str__() == "(1/2 + i5/7)x");
> > +    assert(r2->__str__() == "(1/2 - i5/7)x");
>
> We should change the printer to print the complex numbers in this way:
>
> (1/2 + 5/7*I)*x
>
> So that it's compatible with Sage and sympy
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/sympy/csympy/pull/248/files#r15150345>.
>