Function: math-rwcomp-is-constrained
math-rwcomp-is-constrained is a byte-compiled function defined in
calc-rewr.el.gz.
Signature
(math-rwcomp-is-constrained EXPR NOT-THESE)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-rewr.el.gz
(defun math-rwcomp-is-constrained (expr not-these)
(if (Math-primp expr)
(not (eq (car-safe expr) 'var))
(if (eq (car expr) 'calcFunc-plain)
(math-rwcomp-is-constrained (nth 1 expr) not-these)
(not (or (memq (car expr) '(neg calcFunc-select))
(memq (car expr) not-these)
(and (memq 'commut (get (car expr) 'math-rewrite-props))
(or (eq (car-safe (nth 1 expr)) 'calcFunc-opt)
(eq (car-safe (nth 2 expr)) 'calcFunc-opt))))))))