Function: calcFunc-outer

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

Signature

(calcFunc-outer FUNC A B)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-map.el.gz
(defun calcFunc-outer (func a b)
  (or (math-vectorp a) (math-reject-arg a 'vectorp))
  (or (math-vectorp b) (math-reject-arg b 'vectorp))
  (setq func (math-var-to-calcFunc func))
  (let ((mat nil))
    (while (setq a (cdr a))
      (setq mat (cons (cons 'vec
                            (mapcar (lambda (x)
                                      (math-build-call func
                                                       (list (car a)
                                                             x)))
				    (cdr b)))
		      mat)))
    (math-normalize (cons 'vec (nreverse mat)))))