Hi Golam, It seems that you and Jason are getting a firm grip on this, which is great. Just out of curiosity and my ignorance of the underlying code: Is your aim to hard-code certain functions, or is your aim to provide the users with the possibility of defining the latex representation of their functions? I assume it is the latter, as there is an indefinite number of possible function names. Could you confirm?
Cheers and good luck, Stan Golam Mortuza Hossain wrote: > Thanks Stan! > > On Wed, Mar 25, 2009 at 12:28 PM, Stan Schymanski <schym...@gmail.com> wrote: > >> Thus, I think that >> the problem is not in the definition of the latex reprentations of >> integral and diff, but in what happens when you define psi(x) = >> function('psi',x). In my view, this is where the trouble starts. >> > > Yes, you are right, one should start from there and I have already > got it working for the functions such as > ---------- > psi(x) = function('psi',x) > g(x) = exp(psi(x)) > ---- > > The next type of function names that I am considering are of > the form > ---- > psi1(x) = function('psi1',x) > psi2(x) = function('psi2',x) > --- > Above should be easy to implement following the code > for "SymbolicVariable". > > However, as I mentioned earlier, typesetting for "diff(psi(x),x) )" > is not working even though "psi(x)" is working fine. > > > Cheers, > Golam > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---