Parents: | math |
Tags: | math |
Authors: | Slava Pestov, Joe Groff, Doug Coleman, Cat Stevens |
Class | Superclass |
irregular-matrix | sequence |
matrix | sequence |
null-matrix | matrix |
square-matrix | matrix |
zero-matrix | matrix |
zero-square-matrix | square-matrix |
Word | Stack effect |
<square-cols> | ( desc -- matrix ) |
<square-rows> | ( desc -- matrix ) |
cols-except | ( matrix desc -- others ) |
rows-except | ( matrix desc -- others ) |
Word | Stack effect |
<anti-diagonal-matrix> | ( diagonal-seq -- matrix ) |
<cartesian-indices> | ( dim -- coordinates ) |
<cartesian-square-indices> | ( n -- matrix ) |
<coordinate-matrix> | ( dim -- coordinates ) |
<diagonal-matrix> | ( diagonal-seq -- matrix ) |
<eye> | ( m n k z -- matrix ) |
<identity-matrix> | ( n -- matrix ) |
<lower-matrix> | ( object m n -- matrix ) |
<matrix-by-indices> | ( ... m n quot: ( ... m' n' -- ... elt ) -- ... matrix ) |
<matrix-by> | ( ... m n quot: ( ... -- ... elt ) -- ... matrix ) |
<matrix> | ( m n element -- matrix ) |
<simple-eye> | ( m n k -- matrix ) |
<upper-matrix> | ( object m n -- matrix ) |
<zero-matrix> | ( m n -- matrix ) |
<zero-square-matrix> | ( n -- matrix ) |
>square-matrix | ( m -- subset ) |
all-submatrices | ( matrix -- submatrices ) |
anti-diagonal | ( matrix -- seq ) |
anti-flip | ( matrix -- newmatrix ) |
anti-transpose | ( matrix -- newmatrix ) |
col | ( n matrix -- col ) |
cols | ( seq matrix -- cols ) |
column-map | ( matrix quot: ( ... col -- ... col' ) -- matrix' ) |
dimension | ( matrix -- dimension ) |
frobenius-norm | ( m -- n ) |
hilbert-schmidt-norm | ( m -- n ) |
m* | ( m1 m2 -- m ) |
m*n | ( m n -- m ) |
m+ | ( m1 m2 -- m ) |
m+n | ( m n -- m ) |
m- | ( m1 m2 -- m ) |
m-n | ( m n -- m ) |
m/ | ( m1 m2 -- m ) |
m/n | ( m n -- m ) |
mabs | ( m -- m' ) |
main-diagonal | ( matrix -- seq ) |
matrix-except | ( matrix exclude-pair -- submatrix ) |
matrix-except-all | ( matrix -- submatrices ) |
matrix-l-infinity-norm | ( m -- n ) |
matrix-l1-norm | ( m -- n ) |
matrix-l2-norm | ( m -- n ) |
matrix-map | ( matrix quot: ( ... elt -- ... elt' ) -- matrix' ) |
matrix-map-index | ( matrix quot: ( ... elt i j -- ... elt' ) -- matrix' ) |
matrix-normalize | ( m -- m' ) |
matrix-nth | ( pair matrix -- elt ) |
matrix-nths | ( pairs matrix -- elts ) |
matrix-p-norm | ( m p -- n ) |
matrix-p-norm-entrywise | ( m p -- n ) |
matrix-p-q-norm | ( m p q -- n ) |
matrix-set-nth | ( obj pair matrix -- ) |
matrix-set-nths | ( obj pairs matrix -- ) |
mdot | ( m m -- m ) |
mdotv | ( m v -- p ) |
mmax | ( m -- n ) |
mmin | ( m -- n ) |
mneg | ( m -- m' ) |
m~ | ( m1 m2 epsilon -- ? ) |
n*m | ( n m -- m ) |
n+m | ( n m -- m ) |
n-m | ( n m -- m ) |
n/m | ( n m -- m ) |
regular-matrix? | ( object -- ? ) |
row | ( n matrix -- row ) |
rows | ( seq matrix -- rows ) |
stitch | ( m -- m' ) |
submatrix-excluding | ( matrix exclude-pair -- submatrix ) |
transpose | ( matrix -- newmatrix ) |
vdotm | ( v m -- p ) |
Word | Stack effect |
irregular-matrix? | ( object -- ? ) |
matrix? | ( object -- ? ) |
null-matrix? | ( object -- ? ) |
square-matrix? | ( object -- ? ) |
zero-matrix? | ( object -- ? ) |
zero-square-matrix? | ( object -- ? ) |
Vocabulary | Summary |
math.matrices.elimination | Solving systems of linear equations |
math.matrices.extras | Matrix arithmetic - extra and miscellaneous words |
math.matrices.laplace | Laplace expansion |
math.matrices.simd | SIMD accelerated 4x4 matrix math |