vand ( u v -- w )
Factor handbook » The language » Numbers » Vector operations » Vector component- and bit-wise logic

Prev:vrshift ( v n -- w )
Next:vandn ( u v -- w )


Vocabulary
math.vectors

Inputs
ua sequence of booleans
va sequence of booleans


Outputs
wa sequence of booleans


Word description
Takes the logical AND of each corresponding element of u and v.

Notes
See Componentwise logic with SIMD vectors for notes on dealing with vector boolean inputs and results when using SIMD types.

See also
v<, v<=, v=, v>, v>=, vunordered?, vor, vxor, vnot, vany?, vall?, vnone?, v?

Definition


Methods