Re: [sympy] Code generation and loop re-rolling

2016-06-15 Thread Ondřej Čertík
Hi Jonathan, On Wed, Jun 15, 2016 at 2:16 PM, Jonathan Challinger wrote: > Hi all, > > I am working on a 23+ state navigation EKF for the popular GPLv3 autopilot > "ardupilot." I am using sympy to derive the math and extract subexpressions > for code generation. > > I am

[sympy] Code generation and loop re-rolling

2016-06-15 Thread Jonathan Challinger
Hi all, I am working on a 23+ state navigation EKF for the popular GPLv3 autopilot "ardupilot." I am using sympy to derive the math and extract subexpressions for code generation. I am running into an issue where, because it is generating code for large matrix operations with unrolled loops,

Re: [sympy] Solution of small system of equations grows past manageability

2016-06-15 Thread Oscar Benjamin
On 14 June 2016 at 20:30, wrote: > I had the same idea earlier, but i dropped it because my intuition was, that > three quadratic equations are worse than three linear and one quadratic > equation :-) > > Since you brought this approach up again, i tried it now, but