Changing "^" to "**" would improve the consistency, not the
inconsistency :-}
I know what you mean, but I think we're wedded to the difference. It
does admittedly cause some issues, but in the long run, I believe it
is more consistent with the aims that the Sage developers have set for
Sage.
Justin
--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
My wife 'n kids 'n dogs are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
-----------
That is a consistent way to go. Plus it will work in Fortran :-)
> 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
There might be some confusion. If you're writing code in the notebook
or the command line, you can do this and it will work fine:
sage: def f(x):
....: return x^2
....:
sage: f(10)
100
I.e., even "python functions" get their body's preparsed, so ^ works. The
only problem is if you put code in an external .py file.
Keep persisting -- I think there's some failure to communicate here there
will get clarified with persistence. And the trail of this conversation will be
useful to other people who find it later.
William