>
> That seems like a bug in the _sympy_ conversion, in that it is
> discarding that the variables are assumed real.
>
>
Yeah, I believe some sympy conversions are still broken. I'm not very
familiar with sympy or I would have done some exploration.
See http://trac.sagemath.org/ticket/12345
On Sat, Jun 14, 2014 at 6:12 PM, wrote:
> Dima writes:
> "there is nothing wrong with using a bit of pure mathematics for
> applied problems; e.g. cryptographers do this all the time... "
>
> Agreed. My formal education was from a time when fields, groups, and such
> were not common undergraduat
On Saturday, June 14, 2014 4:55:37 PM UTC-7, William wrote:
>
> On Sat, Jun 14, 2014 at 3:53 PM, >
> wrote:
> >>
> >>
> >
> > This is very helpful, thanks.
> >
> > In Sympy, I did the following:
> > var('A B C D u v', real=True)
> > qi = 1/(u - I*v)
> > qf = (A + B/qi)/(C + D/qi)
> > e
On Sat, Jun 14, 2014 at 3:53 PM, wrote:
>>
>>
>
> This is very helpful, thanks.
>
> In Sympy, I did the following:
> var('A B C D u v', real=True)
> qi = 1/(u - I*v)
> qf = (A + B/qi)/(C + D/qi)
> expand(1/qf,
> complex=True)A2+2ABu+B2u2+B2v2+ADuA2+2ABu+B2u2+B2v2-iADvA2+2ABu+B2u2+B2v2+BCuA2+2ABu+
On Saturday, June 14, 2014 2:04:18 PM UTC-7, Michael Orlitzky wrote:
>
> On 06/14/2014 12:43 AM, jeanbi...@gmail.com wrote:
> > I am coming up to speed on Python, Sympy, and Sage by doing some simple
> > problems on all three. Sympy has an option for its expand function,
> > complex=True, th
On 06/14/2014 12:43 AM, jeanbigbo...@gmail.com wrote:
> I am coming up to speed on Python, Sympy, and Sage by doing some simple
> problems on all three. Sympy has an option for its expand function,
> complex=True, that has made some of my expressions easier to read/use.
> I'm working with quotient
I am coming up to speed on Python, Sympy, and Sage by doing some simple
problems on all three. Sympy has an option for its expand function,
complex=True, that has made some of my expressions easier to read/use. I'm
working with quotients of complex numbers. This option allows Sympy to
return