docs: public static double elementP(DMatrix1Row A , double p ) {
          if( p == 1 ) {
              return CommonOps_DDRM.elementSumAbs(A);
          } if( p == 2 ) {
              return normF(A);
          } else {
              double max = CommonOps_DDRM.elementMaxAbs(A);
  
              if( max == 0.0 )
                  return 0.0;
  
              double total = 0;
  
              int size = A.getNumElements();
  
              for( int i = 0; i < size; i++ ) {
                  double a = A.get(i)/max;
  
                  total += Math.pow(Math.abs(a),p);
              }
  
              return max* Math.pow(total,1.0/p);
          }
      }