|
|||||||||
| PREV CLASS NEXT CLASS | All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjhplot.math.Symbolic
public class Symbolic
Symbolic calculations. One can select engine, such as "jasymca" (default) or "jscl". Read manual for the description.
| Constructor Summary | |
|---|---|
Symbolic()
Initialize symbolic calculations using jasymca as the main engine. |
|
Symbolic(String engine)
Set engine for symbolic calculations. |
|
| Method Summary | |
|---|---|
static String |
derivative(String s)
Symbolic derivative. |
String |
elementary(String s)
Rewrite an expression in term of elementary functions (log, exp, frac, sqrt, implicit roots). |
String |
eval(String str)
Evaluate an expression with the given engine. |
void |
exec(String str)
Execute a set of expressions. |
String |
expand(String s)
Expanding a math formula. |
String |
factorize(String s)
Factorize math formula. |
String |
getEngine()
Return the name of the current engine. |
String |
numeric(String s)
Evaluate numerical values and perform some substitutions. |
String |
simplify(String s)
Simplify equation. |
String |
toJava(String s)
Convert math equation to Java code |
String |
toMathML(String s)
Convert an equation to MathML form. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Symbolic(String engine)
engine - public Symbolic()
| Method Detail |
|---|
public String getEngine()
public String eval(String str)
throws Exception
str - string for evaluation.
Exception
public void exec(String str)
throws Exception
str - string for evaluation
Exception
public String toJava(String s)
throws jscl.text.ParseException
s - input equation
jscl.text.ParseException
public String toMathML(String s)
throws jscl.text.ParseException
s - input equation
jscl.text.ParseException
public String expand(String s)
throws jscl.text.ParseException
s - input equation
jscl.text.ParseException
public String factorize(String s)
throws jscl.text.ParseException
s - input equation
jscl.text.ParseException
public String elementary(String s)
throws jscl.text.ParseException
s - input equation
jscl.text.ParseException
public String simplify(String s)
throws jscl.text.ParseException
s - input equation
jscl.text.ParseException
public String numeric(String s)
throws jscl.text.ParseException
s -
jscl.text.ParseException
public static String derivative(String s)
throws jscl.text.ParseException
s -
jscl.text.ParseException
|
|||||||||
| PREV CLASS NEXT CLASS | All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||