summaryrefslogtreecommitdiffstats
path: root/determ.txi
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:31 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:31 -0800
commit5145dd3aa0c02c9fc496d1432fc4410674206e1d (patch)
tree540afc30c51da085f5bd8ec3f4c89f6496e7900d /determ.txi
parent8466d8cfa486fb30d1755c4261b781135083787b (diff)
downloadslib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.tar.gz
slib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.zip
Import Upstream version 3a2upstream/3a2
Diffstat (limited to 'determ.txi')
-rw-r--r--determ.txi8
1 files changed, 7 insertions, 1 deletions
diff --git a/determ.txi b/determ.txi
index 30eef3d..1d89164 100644
--- a/determ.txi
+++ b/determ.txi
@@ -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
+