6 questions
0
votes
0
answers
50
views
Android mXparser miscalculation
I'm converting an Xcode app to Android.
Part of the app takes a string mathematical expression and using NSExpression (Xcode) connects and calculates a result.
In Android I've used mXparser, but ...
-1
votes
1
answer
238
views
Can I make mXparser algorithm run faster
I made a basic graph plotter in Java using the mXparser library. Now, it does its job just fine, the only problem is that the program itself takes about 2.5 seconds to draw a basic function, like x^2. ...
0
votes
1
answer
130
views
mXparser's iff() conditional does not support equality test
I'm using the Java/.NET symbolic math library mXparser (5.0.2) to support user-provided math expressions in my app.
Problem
I found that the conditional clause iff does not support equality test, e.g.,...
0
votes
1
answer
172
views
mXparser - how to determine the token type of a user defined argument
Using the library https://mathparser.org/mxparser-tutorial/playing-with-expression-tokens/
Assume I have the follow functions:
val origEl = Expression("revenue - cogs")
origEl....
0
votes
1
answer
233
views
mxparser performance for single expression evaluated multiple times
I have a scenario where I need to evaluate one expression 1 million times, but on each iteration the only things that do change are the argument values:
var x1 = new Argument("X1", double....
0
votes
2
answers
646
views
mXparser result rounding
I am trying out mXparser in an android app and I almost have it working. But, if I parse the following expression "10/3" then it returns: 3.33333333335. Why this rounding in the end? and how do I tell ...