Re: [JPP-Devel] New Class to calculate statistic indices

2018-06-06 Thread Giuseppe Aruta
Thanks Michael I activated right now for the raster histogram plugin, I will give a look to improve it according to your suggestions Peppe 2018-06-06 14:07 GMT+02:00 Michaël Michaud : > Hi Peppe, > > Interesting class, I did not know that *mean*, *variance *and *standard > deviation* could be cal

Re: [JPP-Devel] New Class to calculate statistic indices

2018-06-06 Thread Michaël Michaud
Hi Peppe, Interesting class, I did not know that /mean/, /variance /and /standard deviation/ could be calculated incrementally in a single pass ;-) Currently, you can compute statistics against several double arrays in a cumulative way, but I'm not sure it is intentional (and not sure it giv

Re: [JPP-Devel] New Class to calculate statistic indices

2018-06-05 Thread Giuseppe Aruta
I added the class on OJ5839, under com.vividsolutions.jump.util package 2018-06-05 17:53 GMT+02:00 Giuseppe Aruta : > I starded to work on class es.unex.sextante.math.simpleStats.SimpleStats > (Sextante under GPL2) that I modified and extended for my purpose: a set of > statistic operations to be

Re: [JPP-Devel] New Class to calculate statistic indices

2018-06-05 Thread Giuseppe Aruta
I starded to work on class es.unex.sextante.math.simpleStats.SimpleStats (Sextante under GPL2) that I modified and extended for my purpose: a set of statistic operations to be used on a (raster) histogram, The final project is to add a raster histogram plugin to OJ Peppe 2018-06-05 13:54 GMT+02:00

Re: [JPP-Devel] New Class to calculate statistic indices

2018-06-05 Thread edgar . soldin
right Mike, or simply placed alongside in that package. Peppe, did you create the class from scratch or where did you get the code, under which license? ..ede On 05.06.2018 13:52, Michaël Michaud wrote: > Hi Peppe, > > If it is a collection of pure static math methods with no dependency mabe

Re: [JPP-Devel] New Class to calculate statistic indices

2018-06-05 Thread Michaël Michaud
Hi Peppe, If it is a collection of pure static math methods with no dependency mabe it can take place in com.vividsolutions.jump.util.MathUtil Michaël Le 05/06/2018 à 09:32, Giuseppe Aruta a écrit : Hi all, I am going to add a new class, "StatisticsIndices", which calculates position and

Re: [JPP-Devel] New Class to calculate statistic indices

2018-06-05 Thread edgar . soldin
hey Peppe, while i understand the urge to consolidate packages, i can only suggest to leave them be having our legacy extensions in mind. unless you doublecheck each of them - and maybe some that might still work but are not part of PLUS - you will not know which one you break because some clas

Re: [JPP-Devel] New Class to calculate statistic indices

2018-06-05 Thread edgar . soldin
On 05.06.2018 09:32, Giuseppe Aruta wrote: > My idea is to create an "org.openjump.core.math" package into OJ tree. generally i feel the source tree is clattered enough as it is and starting a package for one class only might not be necessary. on the other hand there is no math package that i ca

[JPP-Devel] New Class to calculate statistic indices

2018-06-05 Thread Giuseppe Aruta
Hi all, I am going to add a new class, "StatisticsIndices", which calculates position and statistics indices of an array of numbers. The following inidices will be available: count total sum max min mean 25 percentile median 75 percentile standard deviation coefficinet of variation root Mean Squar