Previous Up Next

2.45.3  Matrix row norm : rownorm rowNorm

rownorm (or rowNorm) takes as argument a matrix A=aj,k.
rownorm (or rowNorm) returns maxk(∑j |aj,k|).
Input :

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

or

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

Output :

7

Indeed : max(1+2,3+4)=7


Previous Up Next