Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
91f4e546
Commit
91f4e546
authored
Oct 10, 2005
by
Jay Belanger
Browse files
(calc-matrix-mode, math-get-modes-vec): Change the mode name `square'
to 'sqmatrix'.
parent
3208fa65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lisp/calc/calc-mode.el
lisp/calc/calc-mode.el
+3
-3
No files found.
lisp/calc/calc-mode.el
View file @
91f4e546
...
...
@@ -352,7 +352,7 @@
(
if
(
eq
calc-complex-mode
'polar
)
1
0
)
(
cond
((
eq
calc-matrix-mode
'scalar
)
0
)
((
eq
calc-matrix-mode
'matrix
)
-2
)
((
eq
calc-matrix-mode
'sq
uare
)
-3
)
((
eq
calc-matrix-mode
'sq
matrix
)
-3
)
(
calc-matrix-mode
)
(
t
-1
))
(
cond
((
eq
calc-simplify-mode
'none
)
-1
)
...
...
@@ -478,7 +478,7 @@
((
<
(
prefix-numeric-value
arg
)
1
)
(
and
(
<
(
prefix-numeric-value
arg
)
-1
)
'matrix
))
(
arg
(
if
(
consp
arg
)
'sq
uare
(
if
(
consp
arg
)
'sq
matrix
(
prefix-numeric-value
arg
)))
((
eq
calc-matrix-mode
'matrix
)
'scalar
)
((
eq
calc-matrix-mode
'scalar
)
nil
)
...
...
@@ -488,7 +488,7 @@
calc-matrix-mode
calc-matrix-mode
)
(
message
(
if
(
eq
calc-matrix-mode
'matrix
)
"Variables are assumed to be matrices"
(
if
(
eq
calc-matrix-mode
'sq
uare
)
(
if
(
eq
calc-matrix-mode
'sq
matrix
)
"Variables are assumed to be square matrices"
(
if
calc-matrix-mode
"Variables are assumed to be scalars (non-matrices)"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment