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 Mon, 20 May 2019 22:20:09 GMT
Hi

>Hence my question: Do you have use-cases? (Your own, or reference
>to other libraries that use types similar to "BigDecimal" in the way you
>propose to be implemented here.)

My idea is to use that API in similar way:

https://pastebin.com/HGcKwv3V

>Yes, but that "package" does not exist yet; hence we (you) have to
>1. suggest a scope for a new maven module,

My general proposition is to provide some new tools for functional way of
processing data in order to generate some statistics(right now I think
mostly about BigDecimal/BigInteger). The scope for now is not big but I
believe it is quite useful.

Regards

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

> Hi.
>
> Le ven. 17 mai 2019 à 15:13, Aleksander Ściborek
> <aleksandersciborek@gmail.com> a écrit :
> >
> > Hi,
> >
> > >How is the "null" consideration related to the functionality of
> performing
> > an average, and other operations?
> >
> > I just don't know why they haven't implement anything like that for
> > BigDecimal or BigInteger, especially it's for my strange because
> BigDecimal
> > is a convenient type for financial calculations.
>
> Hence my question: Do you have use-cases? (Your own, or reference
> to other libraries that use types similar to "BigDecimal" in the way you
> propose to be implemented here.)
>
> >
> > > Which "package"
> >
> > I was referring to your words:
> >
> > "I'm wary of dropping this in "Commons Statistics" without a broader view
> > of the design of a package where it would perhaps fit with similar
> > functionality"
>
> Yes, but that "package" does not exist yet; hence we (you) have to
> 1. suggest a scope for a new maven module,
> 2. show how your proposed code fit within the rest (even if it's not
> implemented yet).
>
> >
> > >How will a user get e.g. the variance too?
> >
> > I didn't plan that functionality
>
> But is it possible, in your plan?
>
> Regards,
> Gilles
>
> ---------------------------------------------------------------------
> 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