diff options
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 + |