Function: math-copy-matrix

math-copy-matrix is an autoloaded and byte-compiled function defined in calc-vec.el.gz.

Signature

(math-copy-matrix M)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-vec.el.gz
;;; Copy a matrix.  [Public]
(defun math-copy-matrix (m)
  (if (math-vectorp (nth 1 m))
      (cons 'vec (mapcar 'copy-sequence (cdr m)))
    (copy-sequence m)))