Hello,

I feel right about one argument functions without parenthesis.

Of corse function call must have a higher priority than operator +-*/^.
nobody read sin x + y + 3 as sin (x+y+3), and + and - must have the same 
priority.

How must we read 2^-3. The only way is 2^(-3).
Axiom and mupad do so, maple doesn't.
But we must remain attentive about 8^2/3 = (8^2)/3, not 8^(2/3)...

I find too surprising the
^^^               : the variable ^
-+                   : the variable +
+-+                 : an error
-+-+                : (-2) +
++-+-              : a comment
Allow the user to add new operators will be more usefull...
[maybe the ! factorial... ]

Maple doesn't allow to use internal function as variable.
so sqrt - 1 has no sense. Indeed function names and variables are in the 
same space, and sin is the code of the function sin...

For mupad sqrt - 1 was the function x +-> sqrt (x)-1 because mupad 
allows operator over functions : f+g is the function x+->f(x)+g(x).

As axiom doesn't know operators over functions, so sqrt -1 might be read 
as sqrt(-1), Axiom already reads 2^-1 = 2^(-1) without problem.

I don't code axioms kernel, I don't have the right advice.

Francois

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" 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/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to