class DoubleVertexSamples extends Samples<DoubleTensor> {

    public DoubleTensor getAverages() {
        return this.samples.stream()
            .reduce(DoubleTensor.zeros(sampleShape), DoubleTensor::plusInPlace)
            .divInPlace((double) samples.size());
    }

    public  DoubleVertexSamples(List<DoubleTensor> samples);

}