Previous Up Next

5.45.11  Hadamard power (infixed version): .^

.^ takes as arguments a matrix or a list A and a real b.
.^ is an infixed operator that returns the matrix or the list where each term is the corresponding term of A raised to the power b.
Input :

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

Output :


Previous Up Next