Hi Mr Ondrej,
>Do you know an algorithm for calculating the thing you want? If so, let's 
>implement that in sympy.
No, unfortunately I don't know.

>So for example you can compare lists with something
like:
In [2]: m = [x, y, z+z]
In [3]: l = [x, y, 2*z]
In [6]: m == l
Out[6]: True

In your example here, you specify concretely the elements of your
lists, but what I want is to deal with symbolically with lists (by
symbolic I mean without specifying the concrete contents or the length
of the list)!So how to do that?

Is sympy able to solve something like this: when i have j<N and i==j+1
the result would be  i==N .

Could sympy solve this system of equations: xP = 1 + a/yP  and |yP-xP|
<= epsilon, without fixing the value of epsilon.

Olfa.


On 27 déc, 12:19, "Ondrej Certik" <[email protected]> wrote:
> On Sat, Dec 27, 2008 at 12:22 AM, olfa <[email protected]> wrote:
>
> > 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?
>
> SymPy is just a Python library, so if you don't know Python yet, you
> can learn it here:
>
> http://docs.python.org/tutorial/
>
> I greatly recommend that, I am sure you'll find it useful. Then you
> just plug the expressions into our solver, see the examples I posted
> in my first email. So for example you can compare lists with something
> like:
>
> In [2]: m = [x, y, z+z]
>
> In [3]: l = [x, y, 2*z]
>
> In [6]: m == l
> Out[6]: True
>
> What is your real application of this?
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to