Comment by andy.terrel:

I don't exactly understand how the 'Index' class would work. Inheriting from Symbol sounds bad to me. This is basically just a number somewhere.

Perhaps a better solution would be to use something like the 'Indexed' class from ginac[0]. Then array type things could either inherit from this or contain one.

I will look around I once had some code doing something like this.

[0] http://www.ginac.de/reference/classGiNaC_1_1indexed.html


For more information:
http://code.google.com/p/sympy/wiki/CodeGenerationIdeas

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues?hl=en.

Reply via email to