math.blas.vectors vocabulary
Factor handbook ยป Vocabulary index


Documentation
BLAS interface vector operations

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


Words

Tuple classes
ClassSuperclassSlots
blas-vector-base tupleunderlying length inc
complex-double-blas-vector blas-vector-base
complex-float-blas-vector blas-vector-base
double-blas-vector blas-vector-base
float-blas-vector blas-vector-base


Parsing words
WordSyntax
cvector{cvector{ 1.0 -2.0 C{ 3.0 -1.0 } }
dvector{dvector{ 1.0 -2.0 3.0 }
svector{svector{ 1.0 -2.0 3.0 }
zvector{zvector{ 1.0 -2.0 C{ 3.0 -1.0 } }


Generic words
WordStack effect
V.( x y -- x.y )
V.conj( x y -- xconj.y )
Vasum( x -- sum )
Viamax( x -- max-i )
Vnorm( x -- norm )
Vswap( x y -- x=y y=x )
element-type( v -- type )
n*V!( alpha x -- x=alpha*x )
n*V+V!( alpha x y -- y=alpha*x+y )


Ordinary words
WordStack effect
(define-blas-vector)( TYPE T -- )
(define-complex-blas-vector)( TYPE C S -- )
(define-real-blas-vector)( TYPE T -- )
<complex-double-blas-vector>( underlying length inc -- vector )
<complex-float-blas-vector>( underlying length inc -- vector )
<double-blas-vector>( underlying length inc -- vector )
<empty-vector>( length exemplar -- vector )
<float-blas-vector>( underlying length inc -- vector )
<zero-vector>( exemplar -- zero )
>complex-double-blas-vector( seq -- v )
>complex-float-blas-vector( seq -- v )
>double-blas-vector( seq -- v )
>float-blas-vector( seq -- v )
V*n( x alpha -- x*alpha )
V+( x y -- x+y )
V-( x y -- x-y )
V/n( x alpha -- x/alpha )
Vamax( x -- max )
Vneg( x -- -x )
Vsub( v start length -- sub )
arg>double( f -- f )
arg>float( f -- f )
define-complex-blas-vector( TYPE C S -- )
define-real-blas-vector( TYPE T -- )
double>arg( f -- f )
float>arg( f -- f )
n*V( alpha x -- alpha*x )
n*V+V( alpha x y -- alpha*x+y )


Class predicate words
WordStack effect
blas-vector-base?( object -- ? )
complex-double-blas-vector?( object -- ? )
complex-float-blas-vector?( object -- ? )
double-blas-vector?( object -- ? )
float-blas-vector?( object -- ? )


Files


Metadata files


Children
VocabularySummary
math.blas.vectors.private