timer '{."2 ({. f"1 }.)^:(i.@#) !/~i.150'
1.63711
timer 'P=.{.S:0 }:({. f"1 }.)&.>^:a: <!/~i.150'
1.44146
timer 'Q=.orto !/~i.150'
1.43562
P-:Q
1
Probably still small matrices ;-)
On 16-09-14 12:45, Raul Miller wrote:
Actually, thinking about this - the explicit version should be within a
factor of 2 of the performance of the power approach unless intermediate
results are so large you run out of memory.
Thanks,
--
Met vriendelijke groet,
@@i = Arie Groeneveld
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm