Handbook
Glossary
BLAS interface vector operations
Basic Linear Algebra Subroutines (BLAS) interface
Prev:
BLAS interface types
Next:
BLAS interface matrix operations
Slicing vectors:
Vsub
( v start length -- sub )
Taking the norm (magnitude) of a vector:
Vnorm
( x -- norm )
Summing and taking the maximum of elements:
Vasum
( x -- sum )
Viamax
( x -- max-i )
Vamax
( x -- max )
Scalar-vector products:
n*V!
( alpha x -- x=alpha*x )
n*V
( alpha x -- alpha*x )
V*n
( x alpha -- x*alpha )
V/n
( x alpha -- x/alpha )
Vneg
( x -- -x )
Vector addition:
n*V+V!
( alpha x y -- y=alpha*x+y )
n*V+V
( alpha x y -- alpha*x+y )
V+
( x y -- x+y )
V-
( x y -- x-y )
Vector inner products:
V.
( x y -- x.y )
V.conj
( x y -- xconj.y )
Literal syntax:
svector{
dvector{
cvector{
zvector{