public class ExponentialFunction extends Function
| Constructor and Description |
|---|
ExponentialFunction(java.util.List<java.lang.Double> domain,
int nOutputs,
java.util.List<java.lang.Double> C0,
java.util.List<java.lang.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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
java.util.List<java.lang.Double> |
getC0()
The values for the function when the input is 0.0.
|
java.util.List<java.lang.Double> |
getC1()
The values for the function when the input is 1.0.
|
double |
getN()
The exponential factor N.
|
void |
setC0(java.util.List<java.lang.Double> C0)
The values for the function when the input is 0.0.
|
void |
setC1(java.util.List<java.lang.Double> C1)
The values for the function when the input is 1.0.
|
void |
setN(double arg0)
The exponential factor N.
|
java.lang.String |
toString()
A string value describing the function.
|
apply, getDomain, getNInputs, getNOutputs, getRange, setDomain, setRangepublic ExponentialFunction(java.util.List<java.lang.Double> domain,
int nOutputs,
java.util.List<java.lang.Double> C0,
java.util.List<java.lang.Double> C1,
double N)
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.public java.lang.String toString()
public double getN()
public void setN(double arg0)
public java.util.List<java.lang.Double> getC0()
public void setC0(java.util.List<java.lang.Double> C0)
public java.util.List<java.lang.Double> getC1()
public void setC1(java.util.List<java.lang.Double> C1)