Quantcast
Channel: Strange phenomenon with Outer - Mathematica Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Mr.Wizard for Strange phenomenon with Outer

I actually get the same timing for all three versions (using v7), but this is almost certainly a matter of packing. You can use Developer`ToPackedArray to convert your sub-arrays, as well as...

View Article



Strange phenomenon with Outer

Outer[Plus, ##] & @@ Array[{1, 2, 6, 24, 120, 720, 5040, 40320, 362880} &, 6]; // AbsoluteTiming(* {0.979056, Null} *)Outer[Plus, ##] & @@ Array[Range[9]! &, 6]; // AbsoluteTiming(*...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images