On Nov 2, 12:14 pm, mabshoff <[EMAIL PROTECTED]> wrote:
> Sage already does that via its preparser:
>
> sage: x^2
> x^2
> sage: x**2
> x^2
> sage: preparse("x^2")
> 'x**Integer(2)'
Yes but I don't think you are claiming that Python code can use ^ for
exponentials are you?
Actually I'm moving towards opinion that I should just use "**"
everywhere.
Alternatively, I could avoid Python code everywhere now that Stein
pointed out to me how to define functions w/o Python code...
my_function(t) = 4*t -9
cs
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---