staborde.functions
Class SOFunction

java.lang.Object
  extended by 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.


Constructor Summary
SOFunction()
           
 
Method Summary
abstract  double absDenom(double re, double im, double p)
           
abstract  double absNum(double re, double im, double p)
           
 boolean equals(java.lang.Object obj)
          Test for equality.
static SOFunction[] getAvailableFunctions()
           
abstract  java.lang.String getDenominator()
           
abstract  java.lang.String getNumerator()
           
abstract  java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SOFunction

public SOFunction()
Method Detail

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