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]
