diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:31 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:31 -0800 |
commit | 5145dd3aa0c02c9fc496d1432fc4410674206e1d (patch) | |
tree | 540afc30c51da085f5bd8ec3f4c89f6496e7900d /determ.txi | |
parent | 8466d8cfa486fb30d1755c4261b781135083787b (diff) | |
download | slib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.tar.gz slib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.zip |
Import Upstream version 3a2upstream/3a2
Diffstat (limited to 'determ.txi')
-rw-r--r-- | determ.txi | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -3,7 +3,7 @@ @noindent A Matrix can be either a list of lists (rows) or an array. -As with linear-algebra texts, this package uses 1-based coordinates. +Unlike linear-algebra texts, this package uses 0-based coordinates. @defun matrix->lists matrix @@ -11,11 +11,13 @@ As with linear-algebra texts, this package uses 1-based coordinates. Returns the list-of-lists form of @var{matrix}. @end defun + @defun matrix->array matrix Returns the (ones-based) array form of @var{matrix}. @end defun + @defun determinant matrix @var{matrix} must be a square matrix. @@ -28,20 +30,24 @@ Returns the (ones-based) array form of @var{matrix}. @end example @end defun + @defun transpose matrix Returns a copy of @var{matrix} flipped over the diagonal containing the 1,1 element. @end defun + @defun matrix:product m1 m2 Returns the product of matrices @var{m1} and @var{m2}. @end defun + @defun matrix:inverse matrix @var{matrix} must be a square matrix. If @var{matrix} is singlar, then @code{matrix:inverse} returns #f; otherwise @code{matrix:inverse} returns the @code{matrix:product} inverse of @var{matrix}. @end defun + |