Function: calcFunc-factor

calcFunc-factor is an autoloaded and byte-compiled function defined in calc-poly.el.gz.

Signature

(calcFunc-factor EXPR &optional VAR)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-poly.el.gz
(defun calcFunc-factor (expr &optional var)
  (let ((math-factored-vars nil)
	(math-to-list nil)
	(calc-prefer-frac t))
    (math-simplify (math-factor-finish
		    (if var
			(let ((math-factored-vars t)
                              (math-fact-expr expr))
			  (or (catch 'factor (math-factor-expr-try var)) expr))
		      (math-factor-expr expr))))))