Hi,

I sometimes time expressions with a left argument of something like 10 or
100, e.g. "(100) 6!:2 'singlePair testSP0'".  This gives me an average time
for the multiple iterations.  It would be nice to be able to get the
standard deviation of the multiple invocations as well.

I can do this myself with something like
   tms=. 6!:2 &>100$<'singlePair testSP0'
then doing statistics on "tms" but I'm wondering if there's a way to do
this more simply.
   tms=. 6!:2 &>100$<'singlePair testSP0'
   (mean,stddev) tms
0.260937 0.00313815

Thanks,

Devon
-- 

Devon McCormick, CFA

Quantitative Consultant
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to