Previous: Commutative Rings, Up: Mathematical Packages [Contents][Index]
(require 'determinant)
A Matrix can be either a list of lists (rows) or an array. Unlike linear-algebra texts, this package uses 0-based coordinates.
Returns the list-of-lists form of matrix.
Returns the array form of matrix.
matrix must be a square matrix.
determinant
returns the determinant of matrix.
(require 'determinant) (determinant '((1 2) (3 4))) ⇒ -2 (determinant '((1 2 3) (4 5 6) (7 8 9))) ⇒ 0
Returns a copy of matrix flipped over the diagonal containing the 1,1 element.
Returns the element-wise sum of matricies m1 and m2.
Returns the element-wise difference of matricies m1 and m2.
Returns the product of matrices m1 and m2.
Returns matrix m1 times scalar z.
Returns matrix m1 times scalar z.
matrix must be a square matrix.
If matrix is singular, then matrix:inverse
returns #f; otherwise matrix:inverse
returns the
matrix:product
inverse of matrix.
Previous: Commutative Rings, Up: Mathematical Packages [Contents][Index]