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

Prev:vunordered? ( u v -- w )
Next:vmin ( u v -- w )


Vocabulary
math.vectors

Inputs
ua sequence of reals
va sequence of reals


Outputs
wa sequence of reals


Word description
Creates a sequence where each element is the maximum of the corresponding elements from u and v.

Examples
USING: math.vectors prettyprint ; { 1 2 5 } { -7 6 3 } vmax .
{ 1 6 5 }


Definition


Methods