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


Vocabulary
math.vectors

Inputs and outputs
ua sequence of numbers
na number
wa sequence of numbers


Word description
Raises each element of u to the power of n.

Definition
IN: math.vectors

GENERIC: v^n ( u n -- w )


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

M: object v^n [ ^ ] curry map ; inline