Function: math-ninteg-evaluate
math-ninteg-evaluate is an autoloaded and byte-compiled function
defined in calcalg3.el.gz.
Signature
(math-ninteg-evaluate EXPR X MODE)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calcalg3.el.gz
(defun math-ninteg-evaluate (expr x mode)
(if (eq mode 'inf)
(setq x (math-div '(float 1 0) x)))
(let* ((var-DUMMY x)
(res (math-evaluate-expr expr)))
(or (Math-numberp res)
(math-reject-arg res "*Integrand does not evaluate to a number"))
(if (eq mode 'inf)
(setq res (math-mul res (math-sqr x))))
res))