GeeCON Prague 2014*
The moose likes Java in General and the fly likes Equation Parser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Equation Parser" Watch "Equation Parser" New topic
Author

Equation Parser

Rafael Afonso
Ranch Hand

Joined: Jul 16, 2002
Posts: 63
Hello:
Anyone knows if there is a package (or library, or bean) to parser a mathematical equation? What I want is to do something like this:

Thanks,
[ September 11, 2002: Message edited by: Rafael Afonso ]

=================================<br /> Rafael U. C. Afonso<br /> <a href="http://www.javafree.com.br" target="_blank" rel="nofollow">www.javafree.com.br</a><br />=================================<br /><i>Where is debug?<br />debug is on the table</i>
Dave Landers
Ranch Hand

Joined: Jul 24, 2002
Posts: 401
If you can represent your equation in java syntax, you could try Bean Shell
Dave Landers
Ranch Hand

Joined: Jul 24, 2002
Posts: 401
I was going to post an example from the bean shell docs, but JavaRanch won't accept it - keeps telling me that I have a < or > that I am supposed to use &lt; or &gt; with but I had none of that in there. Aarrrgh!
The example is the one at http://www.beanshell.org/manual/embeddedmode.html#Calling_BeanShell_From_Java
[ September 11, 2002: Message edited by: Dave Landers ]
 
GeeCON Prague 2014
 
subject: Equation Parser