Re: [math] StatUtils handling of zero length arrays - MATH-373

2010-06-09 Thread luc . maisonobe
- "Bill Barker" a écrit : > Currently StatUtils.sum(double []) (as well as most other statistics > that > operate on arrays) returns NaN on a zero length array. As pointed out > in > the Jira issue, this is not the conventional treatment of a summation > over > the empty set (which woul

Re: [math] StatUtils handling of zero length arrays - MATH-373

2010-06-09 Thread Ted Dunning
I would count this as a bug fix rather than a compatibility break. (my vote is non-binding, of course) On Wed, Jun 9, 2010 at 7:08 PM, Bill Barker wrote: > Currently StatUtils.sum(double []) (as well as most other statistics that > operate on arrays) returns NaN on a zero length array. As poi

[math] StatUtils handling of zero length arrays - MATH-373

2010-06-09 Thread Bill Barker
Currently StatUtils.sum(double []) (as well as most other statistics that operate on arrays) returns NaN on a zero length array. As pointed out in the Jira issue, this is not the conventional treatment of a summation over the empty set (which would return zero) in the mathematical world. I wo

Re: [scxml-eclipse] Comments in Java code (was: svn commit: r953000)

2010-06-09 Thread Xun Long Gui
Yeah 2010/6/9 Rahul Akolkar > On Wed, Jun 9, 2010 at 11:03 AM, Xun Long Gui wrote: > > Sorry about Chinese commend in source code, i will fix it > > > > > OK, and are you planning on removing the @author tags as well while > you are at it? > > -Rahul > > > > 2010/6/9 Rahul Akolkar > > > >> Se

Re: [scxml-eclipse] Comments in Java code (was: svn commit: r953000)

2010-06-09 Thread Rahul Akolkar
On Wed, Jun 9, 2010 at 11:03 AM, Xun Long Gui wrote: > Sorry about Chinese commend in source code, i will fix it > OK, and are you planning on removing the @author tags as well while you are at it? -Rahul > 2010/6/9 Rahul Akolkar > >> See below: >> >> On Wed, Jun 9, 2010 at 9:41 AM,   wrote:

Re: [scxml-eclipse] Comments in Java code (was: svn commit: r953000)

2010-06-09 Thread Xun Long Gui
Sorry about Chinese commend in source code, i will fix it 2010/6/9 Rahul Akolkar > See below: > > On Wed, Jun 9, 2010 at 9:41 AM, wrote: > > Author: guixl > > Date: Wed Jun 9 13:41:14 2010 > > New Revision: 953000 > > > > URL: http://svn.apache.org/viewvc?rev=953000&view=rev > > Log: > > add

Re: [math] elementary functions.

2010-06-09 Thread Bruce A Johnson
Joe Darcy at Oracle http://blogs.sun.com/darcy/category/Numerics might be a good contact as he has an interest and background in Java numerics and has been overseeing Project Coin which is about small additions to the Java language for JDK 7. Bruce On Jun 9, 2010, at 9:31 AM, James Carma

[scxml-eclipse] Comments in Java code (was: svn commit: r953000)

2010-06-09 Thread Rahul Akolkar
See below: On Wed, Jun 9, 2010 at 9:41 AM, wrote: > Author: guixl > Date: Wed Jun  9 13:41:14 2010 > New Revision: 953000 > > URL: http://svn.apache.org/viewvc?rev=953000&view=rev > Log: > add SCXML document export progress monitor > > Added: >     > commons/sandbox/gsoc/2010/scxml-eclipse/trunk

Re: [math] elementary functions.

2010-06-09 Thread James Carman
It seems like Oracle might be a bit more receptive to stuff like this going forward. Good luck! On Wed, Jun 9, 2010 at 9:27 AM, Bill Rossi wrote: > > No it had not occured to me.  I can look into that. > > On Wed, 9 Jun 2010, James Carman wrote: > >> On Wed, Jun 9, 2010 at 7:55 AM, Bill Rossi w

Re: [math] elementary functions.

2010-06-09 Thread Bill Rossi
No it had not occured to me. I can look into that. On Wed, 9 Jun 2010, James Carman wrote: On Wed, Jun 9, 2010 at 7:55 AM, Bill Rossi wrote: 2.) I also think there there is the perception that the existing methods are good enough, so its probably not a high priority. Fair enough. Have

Re: [math] elementary functions.

2010-06-09 Thread James Carman
On Wed, Jun 9, 2010 at 7:55 AM, Bill Rossi wrote: > > 2.) I also think there there is the perception that the existing methods are > good enough, so its probably not a high priority. > Fair enough. Have you thought of approaching the folks at the OpenJDK project? ---

Re: [math] elementary functions.

2010-06-09 Thread Bill Rossi
This is my guess as to why this wasn't already done in the language. 1.) Only in recent years with advances in JIT technology and larger processor caches does my approach become feasible. Previously, Java code doing this wouldn't receive the same level of optimization. For example the perf

Re: [math] elementary functions.

2010-06-09 Thread Phil Steitz
Luc Maisonobe wrote: > Le 08/06/2010 23:07, Bill Rossi a écrit : >> Luc, >> >> I'm OK with providing an ICLA or SGA or both. A bit of history on the >> project to help you decide what is appropriate: >> >> While working for my employer some last year we noticed some of these >> functions were slow

Re: [GSoC] Sandbox project websites

2010-06-09 Thread sebb
On 09/06/2010, Niall Pemberton wrote: > On Tue, Jun 8, 2010 at 4:42 PM, Rahul Akolkar wrote: > > I think its reasonable to get (sandbox) websites posted for the GSoC > > projects -- website presence can help draw interest. So, for this > > year, one would have the sites here: > > > > http:/

Re: [GSoC] Sandbox project websites

2010-06-09 Thread Niall Pemberton
On Tue, Jun 8, 2010 at 4:42 PM, Rahul Akolkar wrote: > I think its reasonable to get (sandbox) websites posted for the GSoC > projects -- website presence can help draw interest. So, for this > year, one would have the sites here: > >  http://commons.apache.org/sandbox/gsoc/2010/scxml-eclipse > >