Issue 1230 in sympy: limit((tan x)**(tan 2x), x, pi/4) doesnt work

2008-12-04 Thread codesite-noreply
Updates: Blockedon: 1231 Comment #2 on issue 1230 by ondrej.certik: limit((tan x)**(tan 2x), x, pi/4) doesnt work http://code.google.com/p/sympy/issues/detail?id=1230 If you want to debug it, use: $ git diff diff --git a/sympy/series/gruntz.py b/sympy/series/gruntz.py index

Issue 1231 in sympy: improve debugging of limits

2008-12-04 Thread codesite-noreply
Updates: Status: Fixed Comment #5 on issue 1231 by fabian.seoane: improve debugging of limits http://code.google.com/p/sympy/issues/detail?id=1231 commited -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue.

[sympy] Re: replaceing symbols in a formula with array elements

2008-12-04 Thread Ondrej Certik
On Thu, Dec 4, 2008 at 1:08 PM, Scott [EMAIL PROTECTED] wrote: How can I translate a formula output by sympy into one that is scipy friendly? Given the following formula how can I automate turning the formula into a fast funtion. f0=-delta_v_h/2 - delta_v_theta/20 + dt*(-2*h1/25 -

[sympy] Re: replaceing symbols in a formula with array elements

2008-12-04 Thread Scott
In spite of my best efforts I cannot get lambdify to cope with array/ list inputs. All the lambdify examples have 1D inputs. Can you pass in x= x1,x2 ? dof and d_dof are both 4*1 lists I am also have trouble with lambdify seeing list if length 4 as on input rather thab as 4 inputs, Iam using

[sympy] Re: replaceing symbols in a formula with array elements

2008-12-04 Thread Riccardo Gori
On Thursday 04 December 2008 19:52:45 Scott wrote: In spite of my best efforts I cannot get lambdify to cope with array/ list inputs. All the lambdify examples have 1D inputs. Can you pass in x= x1,x2 ? dof and d_dof are both 4*1 lists I am also have trouble with lambdify seeing list if

[sympy] Automating constraint

2008-12-04 Thread Alan Bromborsky
Say I have a expression f containing symbols a, b, c, a**2, b**2, and c**2 and I wish to automate imposing the constraint a**2+b**2+c**2 = 1. But a,b, and c and their squares are hidden (were generated by other manipulations) so all I have are f and xsq (xsq = a**2+b**2+c**2). How do I

[sympy] Re: replaceing symbols in a formula with array elements

2008-12-04 Thread Friedrich Hagedorn
On Thu, Dec 04, 2008 at 04:08:15AM -0800, Scott wrote: How can I translate a formula output by sympy into one that is scipy friendly? Here is my attempt with the attached file: In [1]: run test.py In [2]: F0?? [...] def F0(dof,d_dof,U,dt): args = tuple(dof) + tuple(d_dof) +