Documentation
BLAS interface matrix operations

 Parents: math.blas Tags: math, bindings Authors: Joe Groff

Words

Tuple classes
 Class Superclass Slots blas-matrix-base tuple underlying ld rows cols transpose blas-matrix-rowcol-sequence tuple parent 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
 Word Syntax 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
 Word Stack 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
 Word Stack effect (Mcols) ( A -- columns ) (Mrows) ( A -- rows ) (Msub) ( matrix row col height width -- data ld rows cols ) (define-blas-matrix) ( TYPE T U C -- ) ( parent inc rowcol-length rowcol-jump length -- blas-matrix-rowcol-sequence ) ( underlying ld rows cols transpose -- matrix ) ( underlying ld rows cols transpose -- matrix ) ( underlying ld rows cols transpose -- matrix ) ( rows cols exemplar -- 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
 Word Stack 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