All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bnd.math.business.rand.PositiveNormalDistributionProvider Maven / Gradle / Ivy

The newest version!
package com.bnd.math.business.rand;

abstract class PositiveNormalDistributionProvider extends AbstractRandomDistributionProvider {

	protected final RandomDistributionProvider normalDistributionProvider;

	protected PositiveNormalDistributionProvider(Class clazz, RandomDistributionProvider normalDistributionProvider) {
		super(clazz);
		this.normalDistributionProvider = normalDistributionProvider;
	}

	@Override
	public Double mean() {
		// TODO: Not entirely true
		return normalDistributionProvider.mean();
	}

	@Override
	public Double variance() {
		// TODO: Not entirely true
		return normalDistributionProvider.variance();
	}

    @Override
    public T next() {
        // TODO
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy