Element-wise Power Calculator
Raise every element of a matrix to a given exponent n. Each entry A[i][j] becomes A[i][j]^n.
Loading calculator…
Notes
Element-wise Power
Element-wise power (Hadamard power) applies the exponentiation function independently to each matrix entry. Each A[i][j] becomes A[i][j]^n.
Example: Square Every Element (n=2)
Original A:
| 1 | 2 |
| 3 | 4 |
A ∘ 2 (each entry squared):
| 1 | 4 |
| 9 | 16 |
This is the Hadamard power, distinct from the matrix power A^n (repeated matrix multiplication).
See also
- Matrix Calculations Guide — Element-wise Operations — In-depth notes on Element-wise Operations with worked examples
Frequently Asked Questions
Is this the same as the matrix power?
No. Matrix power A^n means multiplying A by itself n times. Element-wise power raises each individual element to n independently.
Can the exponent be fractional?
Yes. A fractional exponent like 0.5 is equivalent to element-wise square root (for non-negative entries).
What happens with n=0?
Every entry raised to the power 0 equals 1, so the result is an all-ones matrix of the same size.