class VectorGeneratorPrimitives {

    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);
    }

}