[sympy] Re: IndexeFunction

2015-02-11 Thread Guillaume Anciaux
That is true that if you can replace indexes with a multiple argument function. But an index is an integer not a real. Furthermore the feature that makes indexed quantity behave just like a numpy array is neat. I think that when you manipulate a tensor/matrix field it would be nice be be able

[sympy] Re: IndexeFunction

2015-02-11 Thread Guillaume Anciaux
For various reasons I wish to stay in Python world... -- You received this message because you are subscribed to the Google Groups sympy group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send

[sympy] indexed function

2015-02-10 Thread Guillaume Anciaux
Hi everyone I would like some help on, I guess, a small thing I would like to make a Function that is also indexed. Is that possible ? the purpose is to be able to write things like ** F = IndexedFunction('F') i = Idx('i') diff(F[i](x),x) **

[sympy] IndexeFunction

2015-02-10 Thread Guillaume Anciaux
Dear all, I am interested in doing a small thing (perhaps). I wish to have an 'indexed function' The purpose would be to have something like ** f = symbols('f', cls=IndexedFunction) i = Idx('i') print diff(f[i](x),x) ** I cannot compute derivatives if the dependency to