Function: calcFunc-gpoly

calcFunc-gpoly is an autoloaded and byte-compiled function defined in calcalg2.el.gz.

Signature

(calcFunc-gpoly EXPR VAR &optional DEGREE)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calcalg2.el.gz
(defun calcFunc-gpoly (expr var &optional degree)
  (if degree
      (or (natnump degree) (math-reject-arg degree 'fixnatnump))
    (setq degree 50))
  (let* ((math-poly-base-variable var)
	 (d (math-decompose-poly expr var degree nil)))
    (if d
	(cons 'vec d)
      (math-reject-arg expr "Expected a polynomial"))))