Package com.datalogics.PDFL
Class ExponentialFunction
java.lang.Object
com.datalogics.PDFL.Function
com.datalogics.PDFL.ExponentialFunction
An interpolation between two output values as input values vary across a domain. For an Exponential Function, the curve between the two values is determined by the exponent N.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()getC0()The values for the function when the input is 0.0.getC1()The values for the function when the input is 1.0.doublegetN()The exponential factor N.voidThe values for the function when the input is 0.0.voidThe values for the function when the input is 1.0.voidsetN(double arg0) The exponential factor N.toString()A string value describing the function.Methods inherited from class com.datalogics.PDFL.Function
apply, getDomain, getNInputs, getNOutputs, getRange, setDomain, setRange
-
Constructor Details
-
ExponentialFunction
public ExponentialFunction(List<Double> domain, int nOutputs, List<Double> C0, List<Double> C1, double N) Create an Exponential Function, which is the exponential interpolation between two output values as the input values vary across the domain.- Parameters:
domain- the domain of the function. 2 elements.nOutputs- the number of outputs of the functionC0- the output value when the input value is 0C1- the output value when the input value is 1N- the exponential factor, which alters the curve of output values as the input values vary across the domain.
-
-
Method Details
-
delete
public void delete() -
toString
A string value describing the function. -
getN
public double getN()The exponential factor N. -
setN
public void setN(double arg0) The exponential factor N. -
getC0
The values for the function when the input is 0.0. There must be the same number of values as the number of outputs in the function. -
setC0
The values for the function when the input is 0.0. There must be the same number of values as the number of outputs in the function. -
getC1
The values for the function when the input is 1.0. There must be the same number of values as the number of outputs in the function. -
setC1
The values for the function when the input is 1.0. There must be the same number of values as the number of outputs in the function.
-