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
5c0e273a
Commit
5c0e273a
authored
Oct 28, 2005
by
Jay Belanger
Browse files
(calcFunc-inv): Check for symbolic matrices.
parent
7199ddd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
lisp/calc/calc-misc.el
lisp/calc/calc-misc.el
+5
-2
No files found.
lisp/calc/calc-misc.el
View file @
5c0e273a
...
...
@@ -646,8 +646,11 @@ loaded and the keystroke automatically re-typed."
(
or
(
math-with-extra-prec
2
(
math-matrix-inv-raw
m
))
(
math-reject-arg
m
"*Singular matrix"
))
(
math-reject-arg
m
'square-matrixp
)))
(
math-div
1
m
)))
(
if
(
and
(
require
'calc-arith
)
(
math-known-matrixp
m
))
(
math-pow
m
-1
)
(
math-div
1
m
))))
(
defun
math-do-working
(
msg
arg
)
(
or
executing-kbd-macro
...
...
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