Function: calcFunc-tderiv

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

Signature

(calcFunc-tderiv EXPR DERIV-VAR &optional DERIV-VALUE DERIV-SYMB)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calcalg2.el.gz
(defun calcFunc-tderiv (expr deriv-var &optional deriv-value deriv-symb)
  (math-setup-declarations)
  (let* ((math-deriv-var deriv-var)
	 (math-deriv-symb deriv-symb)
	 (math-deriv-total t)
	 (res (catch 'math-deriv (math-derivative expr))))
    (or (eq (car-safe res) 'calcFunc-tderiv)
	(null res)
	(setq res (math-normalize res)))
    (and res
	 (if deriv-value
	     (math-expr-subst res math-deriv-var deriv-value)
	   res))))