code: public static double elementMin( DMatrixD1 a ) {
          final int size = a.getNumElements();
  
          double min = a.get(0);
          for( int i = 1; i < size; i++ ) {
              double val = a.get(i);
              if( val < min ) {
                  min = val;
              }
          }
  
          return min;
      }
docs: <p>
  Returns the value of the element in the matrix that has the minimum value.<br>
  <br>
  Min{ a<sub>ij</sub> } for all i and j<br>
  </p>
  
  @param a A matrix. Not modified.
  @return The value of element in the matrix with the minimum value.