Re: [Lang] BigDecimalStatistics proposition

2019-05-16 Thread Gilles Sadowski
Hi.

Le jeu. 16 mai 2019 à 22:45, Aleksander Ściborek
 a écrit :
>
> Should I create a new Maven commons-statistics submodule for this?

[If the current idea is put the functionality in "Commons Statistics", you
should change this thread's "Subject:" line.]

Then, yes, there should be a new module.

> Besides
> the BigDecimalStatistics I'm going to create support for downstream
> operators for BigDecimals and maybe BigIntegers.

Is the goal to "only" mimic the JDK's "IntSummaryStatistics", or do you
have a specific use-case?
In the latter case, it will be worth considering how all the functionality in
Commons Math's "o.a.c.math4.stat.descriptive" package[1] will be
supported.

Regards,
Gilles

[1] 
https://gitbox.apache.org/repos/asf?p=commons-math.git;a=tree;f=src/main/java/org/apache/commons/math4/stat/descriptive



> On Wed, 15 May 2019 at 03:36, Eric Barnhill  wrote:
>
> > Yes. This sounds great for commons-statistics. Other work in a similar vein
> > will be happening this summer by one of our GSOC mentees.
> >
> > On Tue, May 14, 2019, 15:04 Gary Gregory  wrote:
> >
> > > We have a Commons Statistics component that might be a fit.
> > >
> > > Gary
> > >
> > > On Tue, May 14, 2019, 17:34 Aleksander Ściborek <
> > > aleksanderscibo...@gmail.com> wrote:
> > >
> > > > Hi, I've come up with the idea of making easier using Stream with
> > > > BigDecimal class.
> > > > The idea is to create BigDecimalStatistics class which provide a
> > > convenient
> > > > way for calculating max, min, average and sum from BigDecimals from
> > > Stream.
> > > > I think that it's very suitable for commons library.
> > > > Should it be implemented in commons lang or commons math? I believe
> > that
> > > > it's more suitable for commons lang
> > > > This is a link to Jira Ticket : LANG-1459
> > > > 
> > > > Aleksander
> > > >
> > >
> >

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [Lang] BigDecimalStatistics proposition

2019-05-16 Thread Aleksander Ściborek
Should I create a new Maven commons-statistics submodule for this? Besides
the BigDecimalStatistics I'm going to create support for downstream
operators for BigDecimals and maybe BigIntegers.

On Wed, 15 May 2019 at 03:36, Eric Barnhill  wrote:

> Yes. This sounds great for commons-statistics. Other work in a similar vein
> will be happening this summer by one of our GSOC mentees.
>
> On Tue, May 14, 2019, 15:04 Gary Gregory  wrote:
>
> > We have a Commons Statistics component that might be a fit.
> >
> > Gary
> >
> > On Tue, May 14, 2019, 17:34 Aleksander Ściborek <
> > aleksanderscibo...@gmail.com> wrote:
> >
> > > Hi, I've come up with the idea of making easier using Stream with
> > > BigDecimal class.
> > > The idea is to create BigDecimalStatistics class which provide a
> > convenient
> > > way for calculating max, min, average and sum from BigDecimals from
> > Stream.
> > > I think that it's very suitable for commons library.
> > > Should it be implemented in commons lang or commons math? I believe
> that
> > > it's more suitable for commons lang
> > > This is a link to Jira Ticket : LANG-1459
> > > 
> > > Aleksander
> > >
> >
>


Re: [Lang] BigDecimalStatistics proposition

2019-05-14 Thread Eric Barnhill
Yes. This sounds great for commons-statistics. Other work in a similar vein
will be happening this summer by one of our GSOC mentees.

On Tue, May 14, 2019, 15:04 Gary Gregory  wrote:

> We have a Commons Statistics component that might be a fit.
>
> Gary
>
> On Tue, May 14, 2019, 17:34 Aleksander Ściborek <
> aleksanderscibo...@gmail.com> wrote:
>
> > Hi, I've come up with the idea of making easier using Stream with
> > BigDecimal class.
> > The idea is to create BigDecimalStatistics class which provide a
> convenient
> > way for calculating max, min, average and sum from BigDecimals from
> Stream.
> > I think that it's very suitable for commons library.
> > Should it be implemented in commons lang or commons math? I believe that
> > it's more suitable for commons lang
> > This is a link to Jira Ticket : LANG-1459
> > 
> > Aleksander
> >
>


Re: [Lang] BigDecimalStatistics proposition

2019-05-14 Thread Gary Gregory
We have a Commons Statistics component that might be a fit.

Gary

On Tue, May 14, 2019, 17:34 Aleksander Ściborek <
aleksanderscibo...@gmail.com> wrote:

> Hi, I've come up with the idea of making easier using Stream with
> BigDecimal class.
> The idea is to create BigDecimalStatistics class which provide a convenient
> way for calculating max, min, average and sum from BigDecimals from Stream.
> I think that it's very suitable for commons library.
> Should it be implemented in commons lang or commons math? I believe that
> it's more suitable for commons lang
> This is a link to Jira Ticket : LANG-1459
> 
> Aleksander
>


[Lang] BigDecimalStatistics proposition

2019-05-14 Thread Aleksander Ściborek
Hi, I've come up with the idea of making easier using Stream with
BigDecimal class.
The idea is to create BigDecimalStatistics class which provide a convenient
way for calculating max, min, average and sum from BigDecimals from Stream.
I think that it's very suitable for commons library.
Should it be implemented in commons lang or commons math? I believe that
it's more suitable for commons lang
This is a link to Jira Ticket : LANG-1459

Aleksander