commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksander Ściborek <aleksanderscibo...@gmail.com>
Subject Re: [Statistics] BigDecimalStatistics proposition
Date Fri, 17 May 2019 09:48:07 GMT
Hi,
Right now I'm going to minic IntSummaryStatistics. Orginal idea had been to
create a BigDecimalAverager just for calculate an average in functional
style, but after I saw IntSummaryStatistics from JDK i deciced to exdends
functionality.

Regards, Aleksander

On Fri, 17 May 2019 at 00:24, Gilles Sadowski <gilleseran@gmail.com> wrote:

> Hi.
>
> Le jeu. 16 mai 2019 à 22:45, Aleksander Ściborek
> <aleksandersciborek@gmail.com> 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 <ericbarnhill@gmail.com>
> 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 <garydgregory@gmail.com>
> wrote:
> > >
> > > > We have a Commons Statistics component that might be a fit.
> > > >
> > > > Gary
> > > >
> > > > On Tue, May 14, 2019, 17:34 Aleksander Ściborek <
> > > > aleksandersciborek@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
> > > > > <https://issues.apache.org/jira/browse/LANG-1459>
> > > > > Aleksander
> > > > >
> > > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message