diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:40 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:40 -0800 |
commit | 4684239efa63dc1b2c1cbe37ef7d3062029f5532 (patch) | |
tree | 606a687e9279e9bf6048925878968df9875a4973 /determ.scm | |
parent | 64f037d91e0c9296dcaef9a0ff3eb33b19a2ed34 (diff) | |
download | slib-4684239efa63dc1b2c1cbe37ef7d3062029f5532.tar.gz slib-4684239efa63dc1b2c1cbe37ef7d3062029f5532.zip |
Import Upstream version 3b1upstream/3b1
Diffstat (limited to 'determ.scm')
-rw-r--r-- | determ.scm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) |