"squared" input: {{0,1,0,0},{0.325,0,0.2875,0.3875},{0,1,0,0},{0,1,0,0}} squared
output:
"^2" input: {{0,1,0,0},{0.325,0,0.2875,0.3875},{0,1,0,0},{0,1,0,0}} ^2
output:
The squared
operation simply squares all matrix elements.
(cubed
works in a similar way)
Example:
The ^2
operation performs a matrix multiplication as expected.