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

nl.tno.bim.nmd.scaling.NmdExponentialScaler Maven / Gradle / Ivy

The newest version!
package nl.tno.bim.nmd.scaling;


public class NmdExponentialScaler extends NmdBaseScaler implements NmdScaler {

	public NmdExponentialScaler(String unit, Double[] coefficients, Double[] bounds, Double[] currentValues) {
		super(unit, coefficients, bounds, currentValues);
	}
	
	@Override 
	protected Double calculate(Double x) {
		return coefficients[0] * Math.exp(coefficients[1] * x) + coefficients[2];
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy