[ 
https://issues.apache.org/jira/browse/NUMBERS-163?focusedWorklogId=610754&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-610754
 ]

ASF GitHub Bot logged work on NUMBERS-163:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Jun/21 16:10
            Start Date: 14/Jun/21 16:10
    Worklog Time Spent: 10m 
      Work Description: coveralls edited a comment on pull request #95:
URL: https://github.com/apache/commons-numbers/pull/95#issuecomment-860599924


   
   [![Coverage 
Status](https://coveralls.io/builds/40564790/badge)](https://coveralls.io/builds/40564790)
   
   Coverage increased (+0.003%) to 99.665% when pulling 
**30e8afb29eb11039e5780112c3de91421e8d4632 on darkma773r:numbers-163** into 
**19899e7124dcd182fb3ebe31f17405c15be6cd19 on apache:master**.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 610754)
    Time Spent: 0.5h  (was: 20m)

> Summation and LinearCombination Accumulators
> --------------------------------------------
>
>                 Key: NUMBERS-163
>                 URL: https://issues.apache.org/jira/browse/NUMBERS-163
>             Project: Commons Numbers
>          Issue Type: New Feature
>            Reporter: Matt Juntunen
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> It would be useful to have simple accumulator classes in {{Summation}} and 
> {{LinearCombination}} to perform extended precision operations on arbitrary 
> collections of values without requiring conversion to {{double[]}}. Ex:
> {code:java}
> Summation.Accumulator sum= Summation.accumulator(1d);
> sum.add(x)
>     .add(y)
>     .add(z)
>    .add(w);
> double sumResult = sum.get();
> LinearCombination.Accumulator comb = LinearCombination.accumulator(1d);
> comb.add(x, scale)
>     .add(y, scale)
>     .add(z, scale)
>     .add(w, scale);
> double combResult = comb.get();
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to