math.vectors vocabulary
Factor handbook > Vocabulary index


Documentation
Vector operations

Meta-data
Authors:Slava Pestov


Words

Generic words
WordStack effect
(vmerge-head)( u v -- h )
(vmerge-tail)( u v -- t )
[v-]( u v -- w )
distance( u v -- x )
h.( u v -- x )
hlshift( v n -- w )
hrshift( v n -- w )
n*v( n v -- w )
n+v( n v -- w )
n-v( n v -- w )
n/v( n v -- w )
n^v( n v -- w )
norm-sq( v -- x )
v*( u v -- w )
v*high( u v -- w )
v*hs+( u v -- w )
v*n( v n -- w )
v+( u v -- w )
v+-( u v -- w )
v+n( v n -- w )
v-( u v -- w )
v-n( v n -- w )
v.( u v -- x )
v/( u v -- w )
v/n( v n -- w )
v<( u v -- w )
v<=( u v -- w )
v=( u v -- w )
v>( u v -- w )
v>=( u v -- w )
v?( mask true false -- result )
v^( u v -- w )
v^n( v n -- w )
vabs( v -- w )
vall?( v -- ? )
vand( u v -- w )
vandn( u v -- w )
vany?( v -- ? )
vavg( u v -- w )
vbitand( u v -- w )
vbitandn( u v -- w )
vbitnot( v -- w )
vbitor( u v -- w )
vbitxor( u v -- w )
vbroadcast( u n -- v )
vcount( v -- count )
vlshift( v n -- w )
vmax( u v -- w )
vmerge( u v -- w )
vmin( u v -- w )
vneg( v -- w )
vnone?( v -- ? )
vnot( v -- w )
vor( u v -- w )
vrshift( v n -- w )
vs*( u v -- w )
vs+( u v -- w )
vs-( u v -- w )
vsad( u v -- n )
vshuffle( v perm -- w )
vshuffle-bytes( v perm -- w )
vshuffle-elements( v perm -- w )
vshuffle2-elements( u v perm -- w )
vsqrt( v -- w )
vunordered?( u v -- w )
vxor( u v -- w )


Ordinary words
WordStack effect
(vmerge)( u v -- h t )
bilerp( aa ba ab bb {t,u} -- a_tu )
l1-norm( v -- x )
norm( v -- x )
normalize( v -- w )
p-norm( v p -- x )
p-norm-default( v p -- x )
set-axis( u v axis -- w )
trilerp( aaa baa aba bba aab bab abb bbb {t,u,v} -- a_tuv )
v>integer( v -- w )
vbilerp( aa ba ab bb {t,u} -- a_tu )
vceiling( v -- w )
vclamp( v min max -- w )
vfloor( v -- w )
vif( mask true-quot: ( -- vector ) false-quot: ( -- vector ) -- result )
vinfimum( seq -- vmin )
vlerp( a b t -- a_t )
vnlerp( a b t -- a_t )
vsupremum( seq -- vmax )
vtruncate( v -- w )
v~( a b epsilon -- ? )


Files


Children from resource:basis
VocabularySummary
math.vectors.conversionConversion, packing, and unpacking of SIMD vectors
math.vectors.simdSingle-instruction-multiple-data parallel vector operations


Children from resource:extra
VocabularySummary
math.vectors.homogeneousHomogeneous coordinate math


Children
VocabularySummary
math.vectors.privatemath.vectors.private vocabulary