CorrelatedRandomVectorGenerator implements RandomVectorGenerator { public int getRank() { return normalized.length; } CorrelatedRandomVectorGenerator(double[] mean,
                                           RealMatrix covariance, double small,
                                           NormalizedRandomGenerator generator);  CorrelatedRandomVectorGenerator(RealMatrix covariance, double small,
                                           NormalizedRandomGenerator generator); NormalizedRandomGenerator getGenerator(); int getRank(); RealMatrix getRootMatrix(); double[] nextVector();  }
@Test public void testRank() { Assert.assertEquals(2, generator.getRank()); }