@Override public void clear(){
  Arrays.fill(this.d,0.0);
  Arrays.fill(this.rhs,0.0);
  Arrays.fill(this.r,0.0);
  Arrays.fill(this.tol,0.0);
  Arrays.fill(this.rss,0.0);
  Arrays.fill(this.work_tolset,0.0);
  Arrays.fill(this.work_sing,0.0);
  Arrays.fill(this.x_sing,0.0);
  Arrays.fill(this.lindep,false);
  for (int i=0; i < nvars; i++) {
    this.vorder[i]=i;
  }
  this.nobs=0;
  this.sserr=0.0;
  this.sumy=0.0;
  this.sumsqy=0.0;
  this.rss_set=false;
  this.tol_set=false;
}

@ Override public void clear ( ) { Arrays . fill ( this . d , 0.0 ) ; Arrays . fill ( this . rhs , 0.0 ) ; Arrays . fill ( this . r , 0.0 ) ; Arrays . fill ( this . tol , 0.0 ) ; Arrays . fill ( this . rss , 0.0 ) ; Arrays . fill ( this . work_tolset , 0.0 ) ; Arrays . fill ( this . work_sing , 0.0 ) ; Arrays . fill ( this . x_sing , 0.0 ) ; Arrays . fill ( this . lindep , false ) ; for ( int i = 0 ; i < nvars ; i ++ ) { this . vorder [ i ] = i ; } this . nobs = 0 ; this . sserr = 0.0 ; this . sumy = 0.0 ; this . sumsqy = 0.0 ; this . rss_set = false ; this . tol_set = false ; }
as the name suggests , clear wipes the internals and reorders everything in the canonical order .
