@ Override public double [ ] toDoubleArray ( ) { double [ ] array = new double [ numAttributes ( ) ] ; for ( int i = 0 ; i < numValues ( ) ; i ++ ) { array [ index ( i ) ] = valueSparse ( i ) ; } return array ; }
To double array .