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 and outputs
ua sequence of real numbers
va sequence of real numbers
wa sequence of real numbers


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