math.blas.matrices vocabulary
Factor handbook > Vocabulary index


Documentation
BLAS interface matrix operations

Meta-data
Tags:math, bindings
Authors:Joe Groff


Words

Tuple classes
ClassSuperclassSlots
blas-matrix-base tupleunderlying ld rows cols transpose
blas-matrix-rowcol-sequence tupleparent inc rowcol-length rowcol-jump length
complex-double-blas-matrix blas-matrix-base
complex-float-blas-matrix blas-matrix-base
double-blas-matrix blas-matrix-base
float-blas-matrix blas-matrix-base


Parsing words
WordSyntax
cmatrix{cmatrix{ { 1.0 0.0 0.0 1.0 } { 0.0 C{ 0.0 1.0 } 0.0 2.0 } { 0.0 0.0 -1.0 3.0 } { 0.0 0.0 0.0 C{ 0.0 -1.0 } } }
dmatrix{dmatrix{ { 1.0 0.0 0.0 1.0 } { 0.0 1.0 0.0 2.0 } { 0.0 0.0 1.0 3.0 } { 0.0 0.0 0.0 1.0 } }
smatrix{smatrix{ { 1.0 0.0 0.0 1.0 } { 0.0 1.0 0.0 2.0 } { 0.0 0.0 1.0 3.0 } { 0.0 0.0 0.0 1.0 } }
zmatrix{zmatrix{ { 1.0 0.0 0.0 1.0 } { 0.0 C{ 0.0 1.0 } 0.0 2.0 } { 0.0 0.0 -1.0 3.0 } { 0.0 0.0 0.0 C{ 0.0 -1.0 } } }


Generic words
WordStack effect
n*M.M+n*M!( alpha A B beta C -- C=alpha*A.B+beta*C )
n*M.V+n*V!( alpha A x beta y -- y=alpha*A.x+b*y )
n*V(*)V+M!( alpha x y A -- A=alpha*x(*)y+A )
n*V(*)Vconj+M!( alpha x y A -- A=alpha*x(*)yconj+A )


Ordinary words
WordStack effect
(Mcols)( A -- columns )
(Mrows)( A -- rows )
(Msub)( matrix row col height width -- data ld rows cols )
(define-blas-matrix)( TYPE T U C -- )
<blas-matrix-rowcol-sequence>( parent inc rowcol-length rowcol-jump length -- blas-matrix-rowcol-sequence )
<complex-double-blas-matrix>( underlying ld rows cols transpose -- matrix )
<complex-float-blas-matrix>( underlying ld rows cols transpose -- matrix )
<double-blas-matrix>( underlying ld rows cols transpose -- matrix )
<empty-matrix>( rows cols exemplar -- matrix )
<float-blas-matrix>( underlying ld rows cols transpose -- matrix )
>complex-double-blas-matrix( arrays -- matrix )
>complex-float-blas-matrix( arrays -- matrix )
>double-blas-matrix( arrays -- matrix )
>float-blas-matrix( arrays -- matrix )
M*n( A n -- A*n )
M.( A B -- A.B )
M.V( A x -- A.x )
M/n( A n -- A/n )
Mcols( A -- cols )
Mheight( matrix -- height )
Mrows( A -- rows )
Msub( matrix row col height width -- sub )
Mtranspose( matrix -- matrix^T )
Mtransposed?( matrix -- ? )
Mwidth( matrix -- width )
V(*)( x y -- x(*)y )
V(*)conj( x y -- x(*)yconj )
define-complex-blas-matrix( TYPE T -- )
define-real-blas-matrix( TYPE T -- )
n*M( n A -- n*A )
n*M!( n A -- A=n*A )
n*M.M( alpha A B -- alpha*A.B )
n*M.M+n*M( alpha A B beta C -- alpha*A.B+beta*C )
n*M.V( alpha A x -- alpha*A.x )
n*M.V+n*V( alpha A x beta y -- alpha*A.x+b*y )
n*V(*)V( alpha x y -- alpha*x(*)y )
n*V(*)V+M( alpha x y A -- alpha*x(*)y+A )
n*V(*)Vconj( alpha x y -- alpha*x(*)yconj )
n*V(*)Vconj+M( alpha x y A -- alpha*x(*)yconj+A )


Class predicate words
WordStack effect
blas-matrix-base?( object -- ? )
blas-matrix-rowcol-sequence?( object -- ? )
complex-double-blas-matrix?( object -- ? )
complex-float-blas-matrix?( object -- ? )
double-blas-matrix?( object -- ? )
float-blas-matrix?( object -- ? )


Files


Children
VocabularySummary
math.blas.matrices.privatemath.blas.matrices.private vocabulary