|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstaborde.SOModel
public class SOModel
Model that provides a rational function R(z) of which the region of stability and order star are to be determined. This model can use either a predefined SOFunction or a custom user-provided function (which is then parsed by a JEP).
| Constructor Summary | |
|---|---|
SOModel()
Create a new model. |
|
| Method Summary | |
|---|---|
double |
absDenom(double re,
double im,
double p)
|
double |
absE(double re,
double im)
|
double |
absNum(double re,
double im,
double p)
|
void |
addChangeListener(javax.swing.event.ChangeListener l)
Add a ChangeListener. |
void |
fireStateChanged(javax.swing.event.ChangeEvent e)
Notify all ChangeListeners. |
java.lang.String |
getDenominator()
|
java.lang.String |
getDescription()
|
java.lang.String |
getError()
|
SOFunction |
getFunction()
|
java.lang.String |
getNumerator()
|
void |
removeChangeListener(javax.swing.event.ChangeListener l)
Remove a ChangeListener. |
boolean |
setCustomFunction(java.lang.String num,
java.lang.String denom,
java.lang.String desc)
Set the custom function to use. |
void |
setFunction(SOFunction f)
Set the predefined function to use. |
boolean |
usesCustomFunction()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SOModel()
| Method Detail |
|---|
public java.lang.String getDescription()
public java.lang.String getNumerator()
public java.lang.String getDenominator()
public java.lang.String getError()
public SOFunction getFunction()
public void setFunction(SOFunction f)
public boolean setCustomFunction(java.lang.String num,
java.lang.String denom,
java.lang.String desc)
num - the numerator for the custom function.denom - the denominator for the custom function.desc - a description of the given function (a default is used if this value is null).
public boolean usesCustomFunction()
public double absNum(double re,
double im,
double p)
public double absDenom(double re,
double im,
double p)
public double absE(double re,
double im)
public void addChangeListener(javax.swing.event.ChangeListener l)
public void removeChangeListener(javax.swing.event.ChangeListener l)
public void fireStateChanged(javax.swing.event.ChangeEvent e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||