[Rd] Aggregate function FR

2019-11-20 Thread Morgan Morgan
Hi, I was wondering if it would be possible to add an argument to the aggreagte function to retain NA by categories?(default can not to in order to avoid breaking code) Please see below example: df = iris df$Species[5] = NA aggregate(`Petal.Width` ~ Species, df, sum) # does not include NA aggrega

Re: [Rd] Why is matrix product slower when matrix has very small values?

2019-11-20 Thread Serguei Sokol
Le 20/11/2019 à 09:56, Hilmar Berger a écrit : Hi Florian, just a guess, but couldn't it be that the multiplication of very small values leads to FP underflow exceptions which have to be handled by BLAS in a less efficient way than "normal" multiplications handled by SIMD instructions ? Anoth

Re: [Rd] Why is matrix product slower when matrix has very small values?

2019-11-20 Thread Hilmar Berger
Hi Florian, just a guess, but couldn't it be that the multiplication of very small values leads to FP underflow exceptions which have to be handled by BLAS in a less efficient way than "normal" multiplications handled by SIMD instructions ? Best regards, Hilmar On 19/11/2019 15:09, Florian