@Test public void testCircle() { VectorGeneratorPrimitives.circle(1.) .asDataStream().unlabeled().limit(1000) .forEach(v -> assertTrue(Math.sqrt(v.getLengthSquared()) <= 1.)); }
public static VectorGenerator circle(double radius) { return circle(radius, System.currentTimeMillis()); }
VectorGeneratorPrimitives { public static VectorGenerator circle(double radius) { return circle(radius, System.currentTimeMillis()); } }
VectorGeneratorPrimitives { public static VectorGenerator circle(double radius) { return circle(radius, System.currentTimeMillis()); }  }
VectorGeneratorPrimitives { public static VectorGenerator circle(double radius) { return circle(radius, System.currentTimeMillis()); }  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); }
VectorGeneratorPrimitives { public static VectorGenerator circle(double radius) { return circle(radius, System.currentTimeMillis()); }  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);  }