Thank you for your answers !! I think I can build something from them
and from William's idea of a  .__getitem__  function :-)

On Aug 27, 12:50 am, Simon King <[email protected]> wrote:
> Hi Martin,
>
> On Aug 26, 10:46 pm, Martin Albrecht <[email protected]>
> wrote:
>
> > Hi,
>
> > isn't the OP asking for the infinite polynomial ring which Simon and Mike
> > wrote?
>
> I was wondering myself, of course.
>
> But in Nathann's examples, the arguments to the dictionary variables
> are any strings, e.g.,   y["g"]*y["h"]  from the original post.
>
> Anyway, Nathann, indeed Infinite Polynomial Rings would be a possible
> approach if you address your variables by natural numbers, x[1]*x
> [140]+3*y[0]*x[2], rather than by arbitrary strings. They are, of
> course, described in the Sage References.
>
> Cheers,
> Simon
--~--~---------~--~----~------------~-------~--~----~
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/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to