aboutsummaryrefslogtreecommitdiffstats
path: root/determ.scm
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:40 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:40 -0800
commit4684239efa63dc1b2c1cbe37ef7d3062029f5532 (patch)
tree606a687e9279e9bf6048925878968df9875a4973 /determ.scm
parent64f037d91e0c9296dcaef9a0ff3eb33b19a2ed34 (diff)
downloadslib-4684239efa63dc1b2c1cbe37ef7d3062029f5532.tar.gz
slib-4684239efa63dc1b2c1cbe37ef7d3062029f5532.zip
Import Upstream version 3b1upstream/3b1
Diffstat (limited to 'determ.scm')
-rw-r--r--determ.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/determ.scm b/determ.scm
index 30dabbc..be7e00f 100644
--- a/determ.scm
+++ b/determ.scm
@@ -64,7 +64,7 @@
(else (slib:error 'not 'matrix matrix))))
;;@body
-;;Returns the (ones-based) array form of @1.
+;;Returns the array form of @1.
(define (matrix->array matrix)
(cond ((array? matrix)
(if (not (eqv? 2 (array-rank matrix)))
@@ -157,7 +157,7 @@
;;@body
;;@1 must be a square matrix.
-;;If @1 is singlar, then @0 returns #f; otherwise @0 returns the
+;;If @1 is singular, then @0 returns #f; otherwise @0 returns the
;;@code{matrix:product} inverse of @1.
(define (matrix:inverse matrix)
(let* ((mat (matrix->lists matrix))