Re: Embedding maxima



>>>>> "Robert" == Robert Dodier  writes:

    Robert> About making the coding less painful -- there are macros 
    Robert> m+, m-, m*, m//, and m^ to carry out addition, subtraction, 
    Robert> multiplication, division, and exponentiation, which return a 
    Robert> number if the operands evaluate to numbers and an expression 
    Robert> otherwise. So instead of writing '((mplus simp) $foo $bar) 
    Robert> one could write (m+ '$foo '$bar). So I think 

I've noticed these macros before, but I tend to use add, sub, mul,
div, and power since that's what the routines in hyp.lisp tend to use.

We really should rationalize this and pick one set of names for these
functions.

Ray