Previous Up Next

6.45.10  Hadamard power: .^

The infixed operator ./ finds the Hadamard power of a matrix or list A to a real number b; namely, it returns the matrix or the list where each element is the corresponding element of A raised to the bth power.


Example.
Input:

[[1, 2],[3,4]] .^ 2

Output:



14
916



Previous Up Next