Lesson 10 of 15
Matrix Norms
Matrix Norms
A matrix norm measures the "size" of a matrix. Different norms capture different aspects of the matrix.
Frobenius Norm
The most common: sum of squares of all entries, then square root.
Analogous to the Euclidean length of the vector of all entries.
Infinity Norm (Max Row Sum)
The maximum absolute row sum — the worst-case amplification when multiplying a vector with .
1-Norm (Max Column Sum)
The maximum absolute column sum.
Example
Your Task
Implement frobenius_norm(A), infinity_norm(A), and one_norm(A).
Python runtime loading...
Loading...
Click "Run" to execute your code.