except for nested functions, could you tell me how can I express in sympy syntax the other equations of my example such the lists and arrays?
On 26 déc, 23:48, "Ondrej Certik" <[email protected]> wrote: > Hi Olfa, > > On Fri, Dec 26, 2008 at 11:13 PM, olfa <[email protected]> wrote: > > > Hi Mr Ondrej, > > I 'm interested in extracting the function that a while loop defines > > between the initial states (i, j, l, m, n, t, tt, v, vv, w, x, y) of > > its variables and the final states(iP, jP, lP, mP, nP, tP, ttP, vP, > > vvP, wP, xP, yP) of its variables. And I want to do that by solving a > > So the application of this is to evaulate some while loop? Sorry for > my dumb question, I still don't understand the goal of this > calculation. > > > system of equations and inequations that mixes : > > - numeric equations(like:tt/3^(i/1)==ttP/3^(iP/1)) > > - inequalities (like:i<=iP) > > - equations with arrays where I want to express symbolically sum of > > the elements of an array (like:x+Sum[A[k],{k,i,N}]==xP+Sum[A[k], > > {k,iP,N}]) > > -equations with nesting functions (like(Nest[f,v,j]==Nest[f,vP,jP] > > wich means f(f(f(..(v)) j times is equal to f(f(f(..(vP)) jP times. > > -equations with lists (like Join[l,m]==Join[lP,mP]which means that the > > concatenation of lists m and l is equal to the concatenation of lP and > > mP) > > Ok, I think I sort of understand what kind of calculation you want to do. > > > > > Unfortunately, some of these equations doesn't work in mathematica > > (especially for > > nesting function and for lists)(for arrays I'm not sure) and that's > > why I want to know if sympy could help me; It will be really great! > > As I said, I think you will have to enhance our solver to handle > nested functions. Do you know an algorithm for calculating the thing > you want? If so, let's implement that in sympy. > > > > > Is my explanation more clear?Could you help me? > > Absolutely, I'd like to help you. > > Ondrej --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---
