code: public static double inducedPInf( DMatrixRMaj A ) {
          double max = 0;
  
          int m = A.numRows;
          int n = A.numCols;
  
          for( int i = 0; i < m; i++ ) {
              double total = 0;
              for( int j = 0; j < n; j++ ) {
                  total += Math.abs(A.get(i,j));
              }
              if( total > max ) {
                  max = total;
              }
          }
  
          return max;
      }
docs: <p>
  Induced matrix p = infinity norm.<br>
  <br>
  ||A||<sub>&#8734;</sub> = max(i=1 to m; sum(j=1 to n; |a<sub>ij</sub>|))
  </p>
  
  @param A A matrix.
  @return the norm.