public void setup ( int numSamples , int sampleSize ) { mean = new double [ sampleSize ] ; A . reshape ( numSamples , sampleSize , false ) ; sampleIndex = 0 ; numComponents = - 1 ; }
Must be called before any other functions . Declares and sets up internal data structures .