Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 41646 invoked from network); 9 Sep 2004 19:20:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Sep 2004 19:20:28 -0000 Received: (qmail 70841 invoked by uid 500); 9 Sep 2004 19:20:19 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 70737 invoked by uid 500); 9 Sep 2004 19:20:18 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 70724 invoked by uid 99); 9 Sep 2004 19:20:18 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_NJABL_PROXY,RCVD_IN_SORBS_MISC,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [200.170.96.180] (HELO qmail-out.veloxmail.com.br) (200.170.96.180) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 09 Sep 2004 12:20:17 -0700 Received: (qmail 20975 invoked by uid 0); 9 Sep 2004 19:06:31 -0000 Received: from unknown (HELO valadao) (ricardoalonso@200.216.50.242) by darth with SMTP; 9 Sep 2004 19:06:32 -0000 Message-ID: <01ce01c496a2$478826b0$6300a8c0@unitechbh.net.br> Reply-To: =?iso-8859-1?Q?Fernando_Matias_Valad=E3o?= From: =?iso-8859-1?Q?Fernando_Matias_Valad=E3o?= To: References: <20040909185550.64936.qmail@web52401.mail.yahoo.com> Subject: Re: Computing values for f(x,y) [math] Date: Thu, 9 Sep 2004 16:21:58 -0300 Organization: =?iso-8859-1?Q?Unitech_Tecnologia_da_Informa=E7=E3o?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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" To: "Jakarta Commons Users List" ; "Fernando_Matias_Valad�o" 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 > 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: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org