Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
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
u
a sequence of numbers
v
a sequence of numbers
w
a 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