Fernando,
CommonsMath, I think, is looking for an opensource contribution for
formulae... there are several around. (e.g. HartMath).
That's not sufficient anyways, you want to have inputsyntax 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 BSDlike, 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" <matmsh@yahoo.com>
> To: "Jakarta Commons Users List" <commonsuser@jakarta.apache.org>;
> "Fernando_Matias_Valadão" <fernandovaladao@mg.unitech.com.br>
> 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
>> <fernandovaladao@mg.unitech.com.br> 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
>>
>>
>>
>>
>>
>> ___________________________________________________________ALLNEW
>> Yahoo!
> Messenger  all new features  even more fun!
> http://uk.messenger.yahoo.com
>
>
> 
> To unsubscribe, email: commonsuserunsubscribe@jakarta.apache.org
> For additional commands, email: commonsuserhelp@jakarta.apache.org
>

To unsubscribe, email: commonsuserunsubscribe@jakarta.apache.org
For additional commands, email: commonsuserhelp@jakarta.apache.org
