Function: math-var-to-calcFunc

math-var-to-calcFunc is an autoloaded and byte-compiled function defined in calc-map.el.gz.

Signature

(math-var-to-calcFunc F)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-map.el.gz
;;; Convert a variable name (as a formula) into a like-looking function name.
(defun math-var-to-calcFunc (f)
  (if (eq (car-safe f) 'var)
      (if (fboundp (nth 2 f))
	  (nth 2 f)
	(intern (concat "calcFunc-" (symbol-name (nth 1 f)))))
    (if (memq (car-safe f) '(lambda calcFunc-lambda))
	f
      (math-reject-arg f "*Expected a function name"))))