staborde.functions
Class SOFunction
java.lang.Object
staborde.functions.SOFunction
- Direct Known Subclasses:
- ExampleFunction1, ExampleFunction2, ExampleFunction3
public abstract class SOFunction
- extends java.lang.Object
Predefined rational function R(z) of which the region of stability and order star are to be determined.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SOFunction
public SOFunction()
getNumerator
public abstract java.lang.String getNumerator()
- Returns:
- the numerator for this function.
getDenominator
public abstract java.lang.String getDenominator()
- Returns:
- the denominator for this function.
toString
public abstract java.lang.String toString()
- Overrides:
toString in class java.lang.Object
- Returns:
- a complete description for this function.
absNum
public abstract double absNum(double re,
double im,
double p)
- Returns:
- the absolute value of the numerator of the function, evaluated in (re, im) with parameter value p.
absDenom
public abstract double absDenom(double re,
double im,
double p)
- Returns:
- the absolute value of the denominator of the function, evaluated in (re, im) with parameter value p.
getAvailableFunctions
public static SOFunction[] getAvailableFunctions()
- Returns:
- an array of SOFunctions, one of each available subclass.
equals
public boolean equals(java.lang.Object obj)
- Test for equality.
SOFunctions are equal if they belong to the same class.
- Overrides:
equals in class java.lang.Object