code: public double getInfNorm() {
          double max = s.negInf();
          for (int c = 0; c < this.size(); c++) {
              double abs = s.abs(getValue(c));
              if (s.gte(abs, max)) {
                  max = abs;
              }
          }
          return max;
      }
docs: Gets the infinity norm of this tensor. Defined as the maximum absolute
  value of the entries.