public double min(){
  if (isSparse() && nnz() < length()) {
    double min=0.0;
    for (    IndexValue iv : this)     min=Math.min(min,iv.getValue());
    return min;
  }
 else {
    double min=get(0);
    for (int i=1; i < length(); i++)     min=Math.min(min,get(i));
    return min;
  }
}

public double min ( ) { if ( isSparse ( ) && nnz ( ) < length ( ) ) { double min = 0.0 ; for ( IndexValue iv : this ) min = Math . min ( min , iv . getValue ( ) ) ; return min ; } else { double min = get ( 0 ) ; for ( int i = 1 ; i < length ( ) ; i ++ ) min = Math . min ( min , get ( i ) ) ; return min ; } }
returns the minimum value stored in this vector
