How do I retrieve binding powers in a Maxima function definition
Subject: How do I retrieve binding powers in a Maxima function definition
From: Michel Talon
Date: Thu, 3 Nov 2011 17:05:10 +0000 (UTC)
David R Stoutemyer wrote:
> Thanks, that seems to be just what I need!
>
> I don't know the distinction between mplus and "+", or if any such pairs
have different binding powers. However, I want the binding power that is used
in Maxima, not Lisp. The only reason I used ?+ was that I saw it in the
on-line documentation for "infix" and inferred that it was the Maxima binding
power.
Perhaps this sort of thing can be useful:
(%i1) :lisp(symbol-plist 'MPLUS)
(TEX TEX-MPLUS COMMUTES-WITH-CONJUGATE T $NARY (#<FUNCTION # {10C64C7D}> 0)
MAPS-INTEGERS-TO-INTEGERS T SIGN-FUNCTION SIGN-MPLUS RBP 100 LBP 100
GRIND MSZ-MPLUS DIMENSION DIM-MPLUS TRANSLATE #<FUNCTION (LAMBDA #) {1067805D}
FLOATPROG ADDBIGFLOAT OPERATORS SIMPLUS MSIMPIND (MPLUS SIMP) OP +)
Here you learn for example that the right binding power of mplus is 100
the left binding power is 100, etc.
--
Michel Talon