use of org.matheclipse.core.eval.EvalEngine in project symja_android_library by axkr.
the class Symbol method setAttributes.
/** {@inheritDoc} */
@Override
public final void setAttributes(final int attributes) {
fAttributes = attributes;
if (fSymbolName.charAt(0) == '$' && Config.SERVER_MODE) {
EvalEngine engine = EvalEngine.get();
engine.addModifiedVariable(this);
}
}
use of org.matheclipse.core.eval.EvalEngine in project symja_android_library by axkr.
the class MathMLPresentationTestCase method setUp.
/**
* The JUnit setup method
*/
protected void setUp() {
try {
// F.initSymbols();
EvalEngine engine = new EvalEngine(false);
mathUtil = new MathMLUtilities(engine, false, true);
} catch (Exception e) {
e.printStackTrace();
}
// fParser = new Parser(null);
// ExpressionFactory factory = new ExpressionFactory(new Namespace());
// fParser.setFactory(factory);
// fMathMLFactory = new MathMLFormFactory(factory);
}
Aggregations