Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Nick Sabalausky
"Juan Manuel Cabo" wrote in message news:bqrlhcggehbrzyuhz...@forum.dlang.org... > On Friday, 23 March 2012 at 06:51:48 UTC, James Miller wrote: > >> Dude, this is awesome. I tend to just use time, but if I was doing >> anything more complicated, I'd use this. I would suggest changing the >> name

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Manfred Nowak
Andrei Alexandrescu wrote: > In the limit, taking the minimum over infinitely many > measurements of X would yield T. True, if the thoretical variance of the distribution of T is close to zero. But horrible wrong, if T depends on an algorithm that is fast only under amortized analysis, because

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Juan Manuel Cabo
On Friday, 23 March 2012 at 05:26:54 UTC, Nick Sabalausky wrote:>> Wow, that's just fantastic! Really, this should be a standard system tool. I think this guy would be proud: http://zedshaw.com/essays/programmer_stats.html Thanks for the good vibes! Hahahhah, that article is so ing

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Juan Manuel Cabo
On Friday, 23 March 2012 at 10:51:37 UTC, Don Clugston wrote: No, it's easy. Student t is in std.mathspecial. Aargh, I didn't get around to copying it in. But this should do it. /** Inverse of Student's t distribution * [.] Great!!! Thank you soo much Don!!! --jm

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Juan Manuel Cabo
On Friday, 23 March 2012 at 15:33:18 UTC, Andrei Alexandrescu wrote: On 3/23/12 3:02 AM, Juan Manuel Cabo wrote: On Friday, 23 March 2012 at 05:16:20 UTC, Andrei Alexandrescu wrote: [.] (man, the gaussian curve is everywhere, it never ceases to perplex me). I'm actually surprised. I'm wo

GSoC: Linear Algebra and the SciD library

2012-03-23 Thread Cullen Seaton
Hello, I'm a third year undergraduate at the University of Chicago majoring in mathematics. I'm very interested in working on the Matrix library through Google summer of code. The ideas page mentions that progress has already been made but that goals weren't completely met. What kind of suppor

Walter on reddit with an older article

2012-03-23 Thread Andrei Alexandrescu
http://www.reddit.com/r/programming/comments/r9p4c/walter_bright_on_c_compilation_speed/ Andrei

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Andrei Alexandrescu
On 3/23/12 5:51 AM, Don Clugston wrote: No, it's easy. Student t is in std.mathspecial. Aargh, I didn't get around to copying it in. But this should do it. [snip] Shouldn't put this stuff in std.numeric, or create a std.stat module? I think also some functions for t-test would be useful. A

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Andrei Alexandrescu
On 3/23/12 3:02 AM, Juan Manuel Cabo wrote: On Friday, 23 March 2012 at 05:16:20 UTC, Andrei Alexandrescu wrote: [.] (man, the gaussian curve is everywhere, it never ceases to perplex me). I'm actually surprised. I'm working on benchmarking lately and the distributions I get are very conce

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Andrei Alexandrescu
On 3/23/12 12:51 AM, Manfred Nowak wrote: Andrei Alexandrescu wrote: You may want to also print the mode of the distribution, nontrivial but informative In case of this implementation and according to the given link: trivial and noninformative, because | For samples, if it is known that they

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Don Clugston
On 23/03/12 11:20, Don Clugston wrote: On 23/03/12 09:37, Juan Manuel Cabo wrote: On Friday, 23 March 2012 at 05:51:40 UTC, Manfred Nowak wrote: | For samples, if it is known that they are drawn from a symmetric | distribution, the sample mean can be used as an estimate of the | population mod

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Don Clugston
On 23/03/12 09:37, Juan Manuel Cabo wrote: On Friday, 23 March 2012 at 05:51:40 UTC, Manfred Nowak wrote: | For samples, if it is known that they are drawn from a symmetric | distribution, the sample mean can be used as an estimate of the | population mode. I'm not printing the population mod

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread James Miller
On 23 March 2012 21:37, Juan Manuel Cabo wrote: > PS: I should use the t student to make the confidence intervals, > and for computing that I should use the sample standard > deviation (/n-1), but that is a completely different story. > The z normal with n>30 aproximation is quite good. > (I would

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Juan Manuel Cabo
On Friday, 23 March 2012 at 05:51:40 UTC, Manfred Nowak wrote: | For samples, if it is known that they are drawn from a symmetric | distribution, the sample mean can be used as an estimate of the | population mode. I'm not printing the population mode, I'm printing the 'sample mode'. It ha

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Juan Manuel Cabo
On Friday, 23 March 2012 at 06:51:48 UTC, James Miller wrote: Dude, this is awesome. I tend to just use time, but if I was doing anything more complicated, I'd use this. I would suggest changing the name while you still can. avgtime is not that informative a name given that it now does more t

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Juan Manuel Cabo
On Thursday, 22 March 2012 at 17:13:58 UTC, Manfred Nowak wrote: Juan Manuel Cabo wrote: like the unix 'time' command `version linux' is missing. -manfred Linux only for now. Will make it work in windows this weekend. I hope that's what you meant. --jm

Re: avgtime - Small D util for your everyday benchmarking needs

2012-03-23 Thread Juan Manuel Cabo
On Friday, 23 March 2012 at 05:16:20 UTC, Andrei Alexandrescu wrote: [.] (man, the gaussian curve is everywhere, it never ceases to perplex me). I'm actually surprised. I'm working on benchmarking lately and the distributions I get are very concentrated around the minimum. Andrei We