Function: math-maxima-compose-if

math-maxima-compose-if is a byte-compiled function defined in calc-lang.el.gz.

Signature

(math-maxima-compose-if A)

Documentation

Compose the "if" function in Calc's Maxima mode.

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-lang.el.gz
(defun math-maxima-compose-if (a)
  "Compose the \"if\" function in Calc's Maxima mode."
  (list 'horiz
        "if "
        (math-compose-expr (nth 1 a) -1)
        " then "
        (math-compose-expr (nth 2 a) -1)
        " else "
        (math-compose-expr (nth 3 a) -1)))