Quantcast
Channel: Fastest splitter? - Mathematica Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Vito Vanin for Fastest splitter?

PositionIndex[ ] seems to take half of the time of GatherBy[ ]. I use the the test case provided, but evaluate the time with GatherBy[ ], after the comment by MarcoB:splitGB = GatherBy[tabtest, Last];...

View Article



Fastest splitter?

Consider some datasetN1 = 13;N2 = 130*10^3;N3 = 2*10^4;tabtest = Join[Join[RandomReal[{0, 3}, {N1, 4}], Table[{1.}, N1], 2], Join[RandomReal[{0, 3}, {N2, 4}], Table[{2.}, N2], 2], Join[RandomReal[{0,...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images