VectorGeneratorPrimitives { public static VectorGenerator zero(int size) { return constant(VectorUtils.zeroes(size)); }  static VectorGenerator gauss(Vector means, Vector variances, Long seed); static VectorGenerator gauss(Vector means, Vector variances); static VectorGenerator ring(double radius, double fromAngle, double toAngle); static VectorGenerator ring(double radius, double fromAngle, double toAngle, long seed); static VectorGenerator parallelogram(Vector bounds); static VectorGenerator parallelogram(Vector bounds, long seed); static VectorGenerator circle(double radius); static VectorGenerator circle(double radius, long seed); static VectorGenerator zero(int size); static VectorGenerator constant(Vector v);  }
@Test public void testZero() { assertArrayEquals(new double[] {0., 0.}, VectorGeneratorPrimitives.zero(2).get().asArray(), 1e-7); }