Mr Onrej,
really thank you for you kindness.
could you please tell me how can I write the system of equation given
in my example, in sympy syntax?

On 24 déc, 17:21, "Ondrej Certik" <[email protected]> wrote:
> Hi Olfa,
>
>
>
>
>
> On Wed, Dec 24, 2008 at 5:08 PM, olfa <[email protected]> wrote:
>
> > Hello sympy community,
> > I want to know if Sympy could deal with symbolic arrays and lists (by
> >> symbolic I mean without specifying the concrete contents of list or
> >> array)
> >> For example I want to solve a system of equations containing lists and
> >> arrays like this:
> >> solve(x+Sum[A[k],k=i..N]==y+Sum[B[k],k=m..N],
> >> j-Length[C]==l-Length[D],
> >>  z/(c ^ i)==t/(c ^ h),
> >> u+1==2*v-3w,
> >> v=f(f(w)))
> >> (here A and B are arrays; C et D are lists;
> >> x,y,z,t,j,l,i,h,u,v,w are variables that could be of type integer or real, 
> >> c
> >> is a constant and f is a function):
>
> Thanks for your interest in sympy. Yes, you can solve systems of
> equations, see here for some examples:
>
> http://wiki.sympy.org/wiki/EuroSciPy2008_examples#Linear_Solvinghttp://wiki.sympy.org/wiki/EuroSciPy2008_examples#Nonlinear_Solving
>
> and you can use python lists, or numpy arrays (with sympy expressions
> in it), so I think you can do what you want. If you have problems
> getting this done, feel free to ask again.
>
> Ondrej- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to