test_class.file: modules/ml/src/test/java/org/apache/ignite/ml/util/generators/primitives/vector/VectorGeneratorPrimitivesTest.java
test_class.identifier: VectorGeneratorPrimitivesTest
test_case.body: @Test(expected = IllegalArgumentException.class)
      public void testGaussFail2() {
          VectorGeneratorPrimitives.gauss(VectorUtils.of(0.5, -0.5), VectorUtils.of(1.0, -1.0));
      }
test_case.class_method_signature: VectorGeneratorPrimitivesTest.testGaussFail2()
test_case.full_signature: @Test(expected = IllegalArgumentException.class) public void testGaussFail2()
test_case.identifier: testGaussFail2
test_case.invocations: gauss of of
test_case.modifiers: @Test(expected = IllegalArgumentException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGaussFail2()
focal_class.file: modules/ml/src/main/java/org/apache/ignite/ml/util/generators/primitives/vector/VectorGeneratorPrimitives.java
focal_class.identifier: VectorGeneratorPrimitives
focal_class.class_method_signature: VectorGeneratorPrimitives.gauss(Vector means, Vector variances, Long seed)
focal_class.full_signature: public static VectorGenerator gauss(Vector means, Vector variances, Long seed)
focal_class.identifier: gauss
focal_class.modifiers: public static
focal_class.parameters: (Vector means, Vector variances, Long seed)
focal_class.return: VectorGenerator
focal_class.signature: VectorGenerator gauss(Vector means, Vector variances, Long seed)
focal_class.class_method_signature: VectorGeneratorPrimitives.gauss(Vector means, Vector variances)
focal_class.full_signature: public static VectorGenerator gauss(Vector means, Vector variances)
focal_class.identifier: gauss
focal_class.modifiers: public static
focal_class.parameters: (Vector means, Vector variances)
focal_class.return: VectorGenerator
focal_class.signature: VectorGenerator gauss(Vector means, Vector variances)
focal_class.class_method_signature: VectorGeneratorPrimitives.ring(double radius, double fromAngle, double toAngle)
focal_class.full_signature: public static VectorGenerator ring(double radius, double fromAngle, double toAngle)
focal_class.identifier: ring
focal_class.modifiers: public static
focal_class.parameters: (double radius, double fromAngle, double toAngle)
focal_class.return: VectorGenerator
focal_class.signature: VectorGenerator ring(double radius, double fromAngle, double toAngle)
focal_class.class_method_signature: VectorGeneratorPrimitives.ring(double radius, double fromAngle, double toAngle, long seed)
focal_class.full_signature: public static VectorGenerator ring(double radius, double fromAngle, double toAngle, long seed)
focal_class.identifier: ring
focal_class.modifiers: public static
focal_class.parameters: (double radius, double fromAngle, double toAngle, long seed)
focal_class.return: VectorGenerator
focal_class.signature: VectorGenerator ring(double radius, double fromAngle, double toAngle, long seed)
focal_class.class_method_signature: VectorGeneratorPrimitives.parallelogram(Vector bounds)
focal_class.full_signature: public static VectorGenerator parallelogram(Vector bounds)
focal_class.identifier: parallelogram
focal_class.modifiers: public static
focal_class.parameters: (Vector bounds)
focal_class.return: VectorGenerator
focal_class.signature: VectorGenerator parallelogram(Vector bounds)
focal_class.class_method_signature: VectorGeneratorPrimitives.parallelogram(Vector bounds, long seed)
focal_class.full_signature: public static VectorGenerator parallelogram(Vector bounds, long seed)
focal_class.identifier: parallelogram
focal_class.modifiers: public static
focal_class.parameters: (Vector bounds, long seed)
focal_class.return: VectorGenerator
focal_class.signature: VectorGenerator parallelogram(Vector bounds, long seed)
focal_class.class_method_signature: VectorGeneratorPrimitives.circle(double radius)
focal_class.full_signature: public static VectorGenerator circle(double radius)
focal_class.identifier: circle
focal_class.modifiers: public static
focal_class.parameters: (double radius)
focal_class.return: VectorGenerator
focal_class.signature: VectorGenerator circle(double radius)
focal_class.class_method_signature: VectorGeneratorPrimitives.circle(double radius, long seed)
focal_class.full_signature: public static VectorGenerator circle(double radius, long seed)
focal_class.identifier: circle
focal_class.modifiers: public static
focal_class.parameters: (double radius, long seed)
focal_class.return: VectorGenerator
focal_class.signature: VectorGenerator circle(double radius, long seed)
focal_class.class_method_signature: VectorGeneratorPrimitives.zero(int size)
focal_class.full_signature: public static VectorGenerator zero(int size)
focal_class.identifier: zero
focal_class.modifiers: public static
focal_class.parameters: (int size)
focal_class.return: VectorGenerator
focal_class.signature: VectorGenerator zero(int size)
focal_class.class_method_signature: VectorGeneratorPrimitives.constant(Vector v)
focal_class.full_signature: public static VectorGenerator constant(Vector v)
focal_class.identifier: constant
focal_class.modifiers: public static
focal_class.parameters: (Vector v)
focal_class.return: VectorGenerator
focal_class.signature: VectorGenerator constant(Vector v)
focal_method.body: public static VectorGenerator gauss(Vector means, Vector variances, Long seed) {
          A.notEmpty(means.asArray(), "mean.size() != 0");
          A.ensure(means.size() == variances.size(), "mean.size() == variances.size()");
  
          RandomProducer[] producers = new RandomProducer[means.size()];
          for (int i = 0; i < producers.length; i++)
              producers[i] = new GaussRandomProducer(means.get(i), variances.get(i), seed *= 2);
          return RandomProducer.vectorize(producers);
      }
focal_method.class_method_signature: VectorGeneratorPrimitives.gauss(Vector means, Vector variances, Long seed)
focal_method.full_signature: public static VectorGenerator gauss(Vector means, Vector variances, Long seed)
focal_method.identifier: gauss
focal_method.invocations: notEmpty asArray ensure size size size get get vectorize
focal_method.modifiers: public static
focal_method.parameters: (Vector means, Vector variances, Long seed)
focal_method.return: VectorGenerator
focal_method.signature: VectorGenerator gauss(Vector means, Vector variances, Long seed)