MTM
power
element-wise power
Calling Sequence
Parameters
Description
Examples
power(M1,M2)
M1
-
array
M2
The power(M1,M2) function performs an element-wise exponentiation of M1 to the power M2. The result, R, is formed as R[i,j] = M1[i,j] ^ M2[i,j].
Arrays M1 and M2 must be the same size.
with⁡MTM:
M1≔Matrix⁡2,3,fill=2:
M2≔Matrix⁡2,3,fill=2:
power⁡M1,M2
444444
See Also
MTM[mpower]
Download Help Document