Group: | Operators |
See also: | + * .* / - % |
Function: | ^ | |
Description: | ^ is a operator for elementwise exponantiation of arrays. |
Usage: | z = y ^ x | |
Input: | ||
x | n1 x n2 x ... x np array | |
y | m1 x m2 x ... x mp array | |
Output: | ||
z | max(n1,m1) x max(n2,m2) x ... x max(np,mp) array |
The operator ^ is equivalent to .^
#(3,4) ^ #(1,2)
Contents of _tmp [1,] 3 [2,] 16