Function: math-to-exps
math-to-exps is a byte-compiled function defined in calcalg2.el.gz.
Signature
(math-to-exps EXPR)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calcalg2.el.gz
(defun math-to-exps (expr)
(cond (calc-symbolic-mode expr)
((Math-primp expr)
(if (equal expr '(var e var-e)) (math-e) expr))
((and (eq (car expr) '^)
(equal (nth 1 expr) '(var e var-e)))
(list 'calcFunc-exp (nth 2 expr)))
(t
(cons (car expr) (mapcar 'math-to-exps (cdr expr))))))