Function: calc-matrix-brackets
calc-matrix-brackets is an autoloaded, interactive and byte-compiled
function defined in calc-mode.el.gz.
Signature
(calc-matrix-brackets ARG)
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-mode.el.gz
(defun calc-matrix-brackets (arg)
(interactive "sCode letters (R, O, C): ")
(calc-wrapper
(let ((code (append (and (string-match "[rR]" arg) '(R))
(and (string-match "[oO]" arg) '(O))
(and (string-match "[cC]" arg) '(C))
(and (string-match "[pP]" arg) '(P))))
(bad (string-match "[^rRoOcCpP ]" arg)))
(if bad
(error "Unrecognized character: %c" (aref arg bad)))
(calc-change-mode 'calc-matrix-brackets code t))))