v^ ( u v -- w )
Factor documentation > Factor handbook > The language > Numbers > Vector operations > Vector arithmetic
Prev:v/ ( u v -- w )
Next:vneg ( u -- v )


Vocabulary
math.vectors

Inputs and outputs
ua sequence of numbers
va sequence of numbers
wa sequence of numbers


Word description
Raises u to the power of v component-wise.

Definition
IN: math.vectors

GENERIC: v^ ( u v -- w )


Methods
USING: kernel math.functions math.vectors sequences ;

M: object v^ [ ^ ] 2map ; inline