diff options
| author | Jay Belanger | 2005-10-07 21:18:47 +0000 |
|---|---|---|
| committer | Jay Belanger | 2005-10-07 21:18:47 +0000 |
| commit | 8868c48e5a318283d6bd873d12922d21cd758d0c (patch) | |
| tree | d5a48df0d5a6b38fca1fdf2cc7b3f572a02e6211 | |
| parent | 8fc5f8233b811bf2fe08cb641a4d00538c654030 (diff) | |
| download | emacs-8868c48e5a318283d6bd873d12922d21cd758d0c.tar.gz emacs-8868c48e5a318283d6bd873d12922d21cd758d0c.zip | |
(calc-set-mode-line): Add square matrix option.
| -rw-r--r-- | lisp/calc/calc.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index c53e7971956..2220376904f 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el | |||
| @@ -654,6 +654,7 @@ If nil, computations on numbers always yield numbers where possible.") | |||
| 654 | (defcalcmodevar calc-matrix-mode nil | 654 | (defcalcmodevar calc-matrix-mode nil |
| 655 | "If `matrix', variables are assumed to be matrix-valued. | 655 | "If `matrix', variables are assumed to be matrix-valued. |
| 656 | If a number, variables are assumed to be NxN matrices. | 656 | If a number, variables are assumed to be NxN matrices. |
| 657 | If `square', variables are assumed to be square matrices of an unspecified size. | ||
| 657 | If `scalar', variables are assumed to be scalar-valued. | 658 | If `scalar', variables are assumed to be scalar-valued. |
| 658 | If nil, symbolic math routines make no assumptions about variables.") | 659 | If nil, symbolic math routines make no assumptions about variables.") |
| 659 | 660 | ||
| @@ -1551,6 +1552,7 @@ See calc-keypad for details." | |||
| 1551 | (cond ((eq calc-matrix-mode 'matrix) "Matrix ") | 1552 | (cond ((eq calc-matrix-mode 'matrix) "Matrix ") |
| 1552 | ((integerp calc-matrix-mode) | 1553 | ((integerp calc-matrix-mode) |
| 1553 | (format "Matrix%d " calc-matrix-mode)) | 1554 | (format "Matrix%d " calc-matrix-mode)) |
| 1555 | ((eq calc-matrix-mode 'square) "SqMatrix ") | ||
| 1554 | ((eq calc-matrix-mode 'scalar) "Scalar ") | 1556 | ((eq calc-matrix-mode 'scalar) "Scalar ") |
| 1555 | (t "")) | 1557 | (t "")) |
| 1556 | (if (eq calc-complex-mode 'polar) "Polar " "") | 1558 | (if (eq calc-complex-mode 'polar) "Polar " "") |