Previous Up Next

2.42.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 :

[[1,4],[9,16]]

Previous Up Next