new library dependency
This commit is contained in:
5
src/misc/src/jscl/editorengine/commands/elementary.bsh
Normal file
5
src/misc/src/jscl/editorengine/commands/elementary.bsh
Normal file
@@ -0,0 +1,5 @@
|
||||
import jscl.math.Expression;
|
||||
|
||||
String elementary(String expr) {
|
||||
return Expression.valueOf(expr).elementary().toString();
|
||||
}
|
5
src/misc/src/jscl/editorengine/commands/expand.bsh
Normal file
5
src/misc/src/jscl/editorengine/commands/expand.bsh
Normal file
@@ -0,0 +1,5 @@
|
||||
import jscl.math.Expression;
|
||||
|
||||
String expand(String expr) {
|
||||
return Expression.valueOf(expr).expand().toString();
|
||||
}
|
5
src/misc/src/jscl/editorengine/commands/factorize.bsh
Normal file
5
src/misc/src/jscl/editorengine/commands/factorize.bsh
Normal file
@@ -0,0 +1,5 @@
|
||||
import jscl.math.Expression;
|
||||
|
||||
String factorize(String expr) {
|
||||
return Expression.valueOf(expr).factorize().toString();
|
||||
}
|
5
src/misc/src/jscl/editorengine/commands/numeric.bsh
Normal file
5
src/misc/src/jscl/editorengine/commands/numeric.bsh
Normal file
@@ -0,0 +1,5 @@
|
||||
import jscl.math.Expression;
|
||||
|
||||
String numeric(String expr) {
|
||||
return Expression.valueOf(expr).numeric().toString();
|
||||
}
|
5
src/misc/src/jscl/editorengine/commands/simplify.bsh
Normal file
5
src/misc/src/jscl/editorengine/commands/simplify.bsh
Normal file
@@ -0,0 +1,5 @@
|
||||
import jscl.math.Expression;
|
||||
|
||||
String simplify(String expr) {
|
||||
return Expression.valueOf(expr).simplify().toString();
|
||||
}
|
5
src/misc/src/jscl/editorengine/commands/tojava.bsh
Normal file
5
src/misc/src/jscl/editorengine/commands/tojava.bsh
Normal file
@@ -0,0 +1,5 @@
|
||||
import jscl.math.Expression;
|
||||
|
||||
String tojava(String expr) {
|
||||
return Expression.valueOf(expr).toJava();
|
||||
}
|
5
src/misc/src/jscl/editorengine/commands/tomathml.bsh
Normal file
5
src/misc/src/jscl/editorengine/commands/tomathml.bsh
Normal file
@@ -0,0 +1,5 @@
|
||||
import jscl.math.Expression;
|
||||
|
||||
String tomathml(String expr) {
|
||||
return Expression.valueOf(expr).toMathML();
|
||||
}
|
Reference in New Issue
Block a user