public void reset ( ) { Arrays . fill ( mean , 0. ) ; Arrays . fill ( nmea , 0. ) ; if ( elements != null ) { for ( int i = 0 ; i < elements . length ; i ++ ) { Arrays . fill ( elements [ i ] , 0. ) ; } } else { elements = new double [ mean . length ] [ mean . length ] ; } wsum = 0. ; }
Reset the covariance matrix .