[VA] SRC#005- April, 1st Mean Minichallenge
|
04-24-2019, 08:54 PM
Post: #27
|
|||
|
|||
RE: [VA] SRC#005- April, 1st Mean Minichallenge
Hi Valentin,
(04-21-2019 08:38 PM)Valentin Albillo Wrote: You're welcome, thanks to you for your interest and awesome posts on this minichallenge. And I agree with you, I'm also enthralled when I find an interesting piece of mathematics that happens to be new to me, so my goal has always been to post the kind of articles and challenges that I myself would like to read and solve. Wow, thanks for your appreciation! Quote:Quote:Why pick one of the original list elements to estimate the solution: we make no assumptions about the domain of \(f\). [...] This is cheaper than e.g. taking the arithmetic mean as an estimate or bracketing the solution by searching the minimum and maximum of {\(x_i\)}. OK. Replacing in GFM the Code: x 1 GET Code: x « MIN » STREAM BTW, I unsystematically benchmarked both versions (GFM = original version, GFBM = bracketing version), using Emu48 on Android (authentic speed) to compute the generalized \(exp\) mean of a 100 element uniform random list 'V100': Code: 1 RDZ @ seed RAND Code: 0 'C' STO On the other hand, timing the original EXP function using an anonymous timing routine from hpcalc, Code: V100 Best wishes, Mike |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)