Re: [sage-support] Can't evaluate a polynomial on a finite field if representation is not poly

2014-05-21 Thread Martin Albrecht
Looks like a bug, can you open a ticket? On Monday 19 May 2014 19:13:55 Grégory Landais wrote: Hello, evaluating a polynomial on a finite field does not work if the finite field was created with a 'repr' argument in the constructor different than the default one (poly). Curently using

[sage-support] Simplify code generated by sympy for complex expressions

2014-05-21 Thread stuff
Hi all, I use sage to solve a system of equations describing and electronical filter. I then use sympy and codegen to generate c code that I use in my main code written in c. This works almost like a charm, expept that it produces files that are 100s of kb long. Looking into the expressions

[sage-support] Re: Simplify code generated by sympy for complex expressions

2014-05-21 Thread Dima Pasechnik
On 2014-05-21, st...@joa.me.uk st...@joa.me.uk wrote: Hi all, I use sage to solve a system of equations describing and electronical filter. I then use sympy and codegen to generate c code that I use in my main code written in c. This works almost like a charm, expept that it produces

[sage-support] Re: Simplify code generated by sympy for complex expressions

2014-05-21 Thread Harald Schilly
Hi, I haven't looked into that file, but maybe you should try to solve and simplify the equations directly in sympy? There is also a group for sympy, maybe they can help you streamlining this, too. https://groups.google.com/forum/#!forum/sympy Harald -- You received this message because you

[sage-support] Re: Simplify code generated by sympy for complex expressions

2014-05-21 Thread stuff
Den onsdagen den 21:e maj 2014 kl. 13:28:54 UTC+2 skrev Dima Pasechnik: On 2014-05-21, st...@joa.me.uk javascript: st...@joa.me.ukjavascript: wrote: Hi all, I use sage to solve a system of equations describing and electronical filter. I then use sympy and codegen to generate c

[sage-support] Re: Simplify code generated by sympy for complex expressions

2014-05-21 Thread Dima Pasechnik
On 2014-05-21, st...@joa.me.uk st...@joa.me.uk wrote: Den onsdagen den 21:e maj 2014 kl. 13:28:54 UTC+2 skrev Dima Pasechnik: On 2014-05-21, st...@joa.me.uk javascript: st...@joa.me.ukjavascript: wrote: Hi all, I use sage to solve a system of equations describing and electronical

[sage-support] Re: Simplify code generated by sympy for complex expressions

2014-05-21 Thread stuff
Hi, it is a system of resitors and capacitors. I can in principle do a bit of math and calculate Ztotal of my circuit. And calculate Itotal. From this I can get the current I want by repeated current splitting in parallel impedances. I have tried this as well. The results are the same. The

[sage-support] Re: Simplify code generated by sympy for complex expressions

2014-05-21 Thread Dima Pasechnik
On 2014-05-21, st...@joa.me.uk st...@joa.me.uk wrote: Hi, it is a system of resitors and capacitors. I can in principle do a bit of math and calculate Ztotal of my circuit. And calculate Itotal. From this I can get the current I want by repeated current splitting in parallel impedances. I

[sage-support] Sage Tutorial questions

2014-05-21 Thread David Joyner
Hi: I am trying to upload a new version of the Sage Tutorial to createspace.com for those that want to buy a bound version. (The royalties go directly to the Sage Foundation.) The last time I did this was version 4.x when I think Sage used latex for the tutorial, and even then I needed help from

[sage-support] Re: Sage Tutorial questions

2014-05-21 Thread Dima Pasechnik
On 2014-05-21, David Joyner wdjoy...@gmail.com wrote: Hi: I am trying to upload a new version of the Sage Tutorial to createspace.com for those that want to buy a bound version. (The royalties go directly to the Sage Foundation.) The last time I did this was version 4.x when I think Sage