I need to store a lot of equations and a mathematical formula in a database for my modeling experiments, and I think it's better to use some mathML or latex string ... but ...
I am making a search request in googling and I am very surprised because I did not find any eval library in java or scala to convert a latex or string mathML expression into an equation in java / scala. I donβt want eval () to be a very complex equation with a solver , my goal is to "really" save and convert a simple equation (polynomial, linear) into scala / java.
Do you have some tips to help me understand if there is another solution for storing and analyzing easily an equation or mathematical formula after evaluating a string in Java or scala?
Update 1:
Finally, I find some java library that reads the formula et eval () string ... If you find anything, I can end this list with your suggestion.
Indiscriminately MathML / Latex:
With experimental analysis of MathML
jscl-meditor - github depository Java-symbolic computational library and mathematical editor (open-source, latest version 2011, excellent interface and editor, mathML input / output ( see the tutorial here ), great features: solution of polynomial systems, vectors and matrices , factorization, derivatives, integrals (rational functions), Boolean algebra, simplification, Java-code generation, geometric algebra)
/ li>JScience seems to have experimental support for inputting MathML. (cf in this post: Parsing mathml document using JScience and MathML and Java )
Class here: http://jscience.org/experimental/javadoc/org/w3c/dom/mathml/package-tree.html
thanks
source share