Previous Up Next

2.45.1  l2 matrix norm : nomm l2norm

norm (or l2norm) takes as argument a matrix A=aj,k (see also 2.38.1).
norm (or l2norm) returns √j,k aj,k2.
Input :

norm([[1,2],[3,-4]])

or

l2norm([[1,2],[3,-4]])

Output :

sqrt(30)

Previous Up Next