Re: [numbers] LinearCombination dot product accuracy

2020-01-10 Thread Gilles Sadowski
Hi. Le ven. 10 janv. 2020 à 22:45, Alex Herbert a écrit : > > > > > On 10 Jan 2020, at 18:12, Gilles Sadowski wrote: > > > >> ... > > > > IIUC, precision (without resorting to "BigDecimal") was the purpose of > > "LinearCombination". +1 for making the appropriate changes to the > > existing "va

Re: [numbers] LinearCombination dot product accuracy

2020-01-10 Thread Alex Herbert
> On 10 Jan 2020, at 18:12, Gilles Sadowski wrote: > >> ... > > IIUC, precision (without resorting to "BigDecimal") was the purpose of > "LinearCombination". +1 for making the appropriate changes to the > existing "value" method. > [I'd suggest to open a JIRA issue and mention the rest of the

Re: [numbers] LinearCombination dot product accuracy

2020-01-10 Thread Gilles Sadowski
Hi Alex. Thanks a lot for this work (and all the "Complex" stuff)! Le ven. 10 janv. 2020 à 18:18, Alex Herbert a écrit : > > I have been investigating the accuracy of the LinearCombination class. This > was because I was using it to perform high precision computations in the > Complex class an

[numbers] LinearCombination dot product accuracy

2020-01-10 Thread Alex Herbert
I have been investigating the accuracy of the LinearCombination class. This was because I was using it to perform high precision computations in the Complex class and it did not achieve the desired precision. The basis of the class is to compute dot products: sum a_i b_i. It does this by splitt