staborde.functions
Class ExampleFunction1

java.lang.Object
  extended by staborde.functions.SOFunction
      extended by staborde.functions.ExampleFunction1

public class ExampleFunction1
extends SOFunction

Example function: (1 + (1 - p) * z) / (1 - p * z)


Constructor Summary
ExampleFunction1()
           
 
Method Summary
 double absDenom(double re, double im, double p)
           
 double absNum(double re, double im, double p)
           
 java.lang.String getDenominator()
           
 java.lang.String getNumerator()
           
 java.lang.String toString()
           
 
Methods inherited from class staborde.functions.SOFunction
equals, getAvailableFunctions
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExampleFunction1

public ExampleFunction1()
Method Detail

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.