double-2 - Factor Documentation

double-2


Vocabulary
math .vectors .simd

Definition
IN: math.vectors.simd

TUPLE: double-2 < simd-128 ; final


Methods
USING: classes kernel math.vectors.simd math.vectors.simd.cords
sequences.cords ;

M: double-2 cord-append
2dup [ double-2 instance? ] both?
[ double-4 boa ] [ generic-cord boa ] if ; inline


USING: kernel math.vectors.simd sequences ;

M: double-2 length drop 2 ; inline


USING: classes kernel math.vectors.simd sequences ;

M: double-2 like
drop dup \ double-2 instance? [ >double-2 ] unless ; inline


USING: gml.types math.vectors.simd ;

M: double-2 mask-vec3d ; inline


USING: kernel math.vectors.simd math.vectors.simd.private ;

M: double-2 new-underlying drop \ double-2 boa ; inline


USING: cpu.architecture generic kernel math.vectors.simd
math.vectors.simd.intrinsics math.vectors.simd.private
sequences.private ;

M: double-2 nth-unsafe
swap \ double-2-rep
[ (simd-select) ]
[ M\ double-2 nth-unsafe (call-next-method) ] vx->x-op ;
inline


USING: kernel math.vectors.simd prettyprint.custom ;

M: double-2 pprint-delims drop \ double-2{ \ } ;


USING: accessors alien.c-types kernel math.vectors.simd
math.vectors.simd.private sequences.private ;

M: double-2 set-nth-unsafe
[ double boolean>element ] 2dip
underlying>> double set-alien-element ; inline


USING: alien.c-types kernel math.vectors.simd ;

M: double-2 simd-element-type drop double ; inline


USING: cpu.architecture kernel math.vectors.simd ;

M: double-2 simd-rep drop double-2-rep ; inline


USING: kernel math.vectors.simd ;

M: double-2 simd-with drop double-2-with ; inline


USING: gml.printer math.vectors.simd ;

M: double-2 write-gml 2 write-vector ;

AltStyle によって変換されたページ (->オリジナル) /