public class SwitchFunction extends CMLFunctionAdapter
| Constructor and Description |
|---|
SwitchFunction(double e)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
eval(double[] dAry)
evaluate function value based on the input double array.
|
double |
getU(double y)
Calculate input from the output value
|
addCMLVarRec, debugInfo, getVarRecList, hasInput, readData, writeDatapublic double getU(double y)
throws InterpssException
getU in interface ICMLFunctionBasegetU in class CMLFunctionAdapterInterpssExceptionpublic double eval(double[] dAry)
eval in interface ICMLFunctioneval in class CMLFunctionAdapterdAry - contains { x, u1, u2 }