staborde.functions
Class ExampleFunction1
java.lang.Object
staborde.functions.SOFunction
staborde.functions.ExampleFunction1
public class ExampleFunction1
- extends SOFunction
Example function: (1 + (1 - p) * z) / (1 - p * z)
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExampleFunction1
public ExampleFunction1()
absDenom
public double absDenom(double re,
double im,
double p)
- Specified by:
absDenom in class SOFunction
- Returns:
- the absolute value of the denominator of the function, evaluated in (re, im) with parameter value p.
absNum
public double absNum(double re,
double im,
double p)
- Specified by:
absNum in class SOFunction
- Returns:
- the absolute value of the numerator of the function, evaluated in (re, im) with parameter value p.
getDenominator
public java.lang.String getDenominator()
- Specified by:
getDenominator in class SOFunction
- Returns:
- the denominator for this function.
getNumerator
public java.lang.String getNumerator()
- Specified by:
getNumerator in class SOFunction
- Returns:
- the numerator for this function.
toString
public java.lang.String toString()
- Specified by:
toString in class SOFunction
- Returns:
- a complete description for this function.