Re: Numeric Array prototypes

2018-11-21 Thread Gbadebo Bello
and, does javascript now support vectorised operations on the client side or an external library would be needed for this? On Thu, Nov 22, 2018, 03:26 Gbadebo Bello wrote: > Well, you are right. The `apply` method might not be the best(Performance > wise). > > @T.J. Crowder. Wow, my

Re: Numeric Array prototypes

2018-11-21 Thread Gbadebo Bello
Well, you are right. The `apply` method might not be the best(Performance wise). @T.J. Crowder. Wow, my mind didn't go to `reduce` at all, I don't have any issues with it, in fact I feel it would perform better than `apply` ___ es-discuss mailing list

Re: Numeric Array prototypes (Isiah Meadows)

2018-11-21 Thread Gbadebo Bello
Yh, i felt the same way about the rest also but thought it would be nice to atleast get feedback b concluding. -- Forwarded message - From: Gbadebo Bello Date: Mon, Nov 19, 2018, 01:27 Subject: Re: Numeric Array prototypes (Isiah Meadows) To: Isiah Meadows Yh, i felt the same

Numeric Array prototypes

2018-11-20 Thread Gbadebo Bello
The array object has no method for finding the minimum value of an array of numbers and the Math.min() method doesn't work on Arrays right out of the box. I'll have similar issues if i wanted to return the maximum number, the mean, mode, median or standard deviations in any array of numbers.