|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
com.numobjects.mathbeans.CalcSolveSet
Calc set with equation solving capabilities. Equations are solved numerically
on the specified interval. At most one root is sought even if there are many.
The component provides the possibility to choose the independent variable,
its range, the target function and its value. Expressions corresponding to
the functions are set by the same rules as for the CalcSet.
CalcSet,
CalcGraphSet, Serialized Form| Constructor Summary | |
CalcSolveSet()
Constructor |
|
CalcSolveSet(java.lang.String formulae,
java.awt.Color c)
Constructor |
|
| Method Summary | |
CalcSet |
getCalculator()
Gets the calculator panel |
void |
getColors(java.awt.Color[] cc)
Gets base colors from the calculator, solver and control panels |
com.numobjects.beans.ControlPanel |
getControl()
Gets the control panel |
java.lang.String |
getFormulae()
Gets formulae |
int |
getPrecision()
Gets precision |
int |
getRounding()
Gets rounding |
com.numobjects.mathbeans.SolveSet |
getSolver()
Gets the solver panel |
void |
getValues(java.lang.String[][] s)
Gets the values from the calculator, solver and control panels |
void |
setColors(java.awt.Color[] cc)
Sets base colors for the calculator, solver and control panels |
void |
setFormulae(java.lang.String formulae)
Sets formulae |
void |
setPrecision(int value)
Sets precision (the number of significant digits in the calculation); range 1 - 15, default precision is 6 |
void |
setRounding(int value)
Sets rounding (the number of digits displayed after the decimal dot); range -1 - 15, default rounding is -1 (no rounding) |
void |
setValues(java.lang.String[][] s)
Sets the values for the calculator, solver and control panels |
| Constructor Detail |
public CalcSolveSet()
public CalcSolveSet(java.lang.String formulae,
java.awt.Color c)
formulae - a set of formulasc - base color| Method Detail |
public void setFormulae(java.lang.String formulae)
formulae - a string representing a set of formulae (semicolon delimited)public java.lang.String getFormulae()
public void setPrecision(int value)
value - precision to setpublic int getPrecision()
public void setRounding(int value)
value - roundingpublic int getRounding()
public CalcSet getCalculator()
public com.numobjects.mathbeans.SolveSet getSolver()
public com.numobjects.beans.ControlPanel getControl()
public void setColors(java.awt.Color[] cc)
cc - an array of colors (must have length at least 3)public void getColors(java.awt.Color[] cc)
cc - an array of colors (must have length at least 3)public void getValues(java.lang.String[][] s)
s - a two-dimensional array consisting of 3 arrays of valuespublic void setValues(java.lang.String[][] s)
s - a two-dimensional array consisting of 3 arrays of values
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||