From: Dan S. <ds...@us...> - 2002-12-08 16:10:20
|
Update of /cvsroot/maxima/maxima/doc/info In directory sc8-pr-cvs1:/tmp/cvs-serv28565/maxima/doc/info Modified Files: Expressions.texi Log Message: Added OP and OPERATORP. Index: Expressions.texi =================================================================== RCS file: /cvsroot/maxima/maxima/doc/info/Expressions.texi,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- Expressions.texi 21 Sep 2002 03:03:58 -0000 1.6 +++ Expressions.texi 8 Dec 2002 16:10:17 -0000 1.7 @@ -612,6 +612,21 @@ sum). @end defun +@c @node OP, OPERATORP, NTERMS, Expressions +@c @unnumberedsec phony +@defun OP (exp) +Returns the operator of the expression, and functions the same way as +PART(exp,0). It observes the setting of the INPART flag. It may not +return the same value as the commercial Macsyma. + +@end defun +@c @node OPERATORP, OPTIMIZE, OP, Expressions +@c @unnumberedsec phony +@defun OPERATORP (exp, ool) +Uses OP to get the operator of the expression and either compares it to ool, +if it is a operator, or checks if it is a member of ool if it is a list. + +@end defun @c @node OPTIMIZE, OPTIMPREFIX, NTERMS, Expressions @c @unnumberedsec phony @defun OPTIMIZE (exp) |