Fernando,

Commons-Math, I think, is looking for an open-source contribution for formulae... there are several around. (e.g. HartMath).
That's not sufficient anyways, you want to have input-syntax parsing...


At least to combine these two purposes, I've assembled something called JomeConsole which should contain what you want...
- Jome is a GUI component but can also simply be used to convert a linear syntax into OpenMath
- the OpenMath is then used by an evaluator to compute values... currently the evaluator is quite rudimentary (integer +,-,*,/) but that's easy to extend...
See http://www.activemath.org/projects/client/JomeConsole/
(note the downloads are wrong there... use the cvs checkout!)


JomeConsole is under MPL, Jome is under LGPL, JDOM is also used, under a BSD-like, as well as the Inria OpenMath library.

hope that'll help.

paul


Le 9 sept. 04, � 21:21, Fernando Matias Valad�o a �crit :

Thank you very much, Shing!
That's exactly what I need, but unfortunately, it's not open source ;(
Does anybody know another API/framework like JEP that is open source?
Thanks!

Fernando

----- Original Message -----
From: "Shing Hing Man" <[EMAIL PROTECTED]>
To: "Jakarta Commons Users List" <[EMAIL PROTECTED]>;
"Fernando_Matias_Valad�o" <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 2004 3:55 PM
Subject: Re: Computing values for f(x,y) [math]


I do not know whether common Maths allow you to
evaluate
a user defined function.
But you certainly can do it using Java Experssion
Parser
  http://www.singularsys.com/jep/


Shing

 --- Fernando_Matias_Valad�o
<[EMAIL PROTECTED]> wrote:
Hello, people!

I'm developing a Java project that I need to do
something like this:
1 - Define a function like this, for example: f(x,y)
= 2*x + y/3 + 5
2 - Compute a value for this function when I have
values for "x" and "y"

I found out in thd docs that I can only find the
roots for a function.
Does anybody know if I can do this evalutation with
Commons Math?
If I can't, do you know any other API/framework that
supports something like this?
Thanks in advance

Fernando

===== Home page : http://uk.geocities.com/matmsh/index.html





___________________________________________________________ALL-NEW Yahoo!
Messenger - all new features - even more fun! http://uk.messenger.yahoo.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to