Skip to main content
7 events
when toggle format what by license comment
Sep 22, 2015 at 7:03 vote accept awyr_agored
Sep 22, 2015 at 10:10
Sep 22, 2015 at 6:53 comment added awyr_agored Thanks ubqdqn. Elegant code - I should have looked at the problem from a different perspective.
Sep 21, 2015 at 9:20 comment added ubpdqn @ShutaoTANG yes I was being silly...and ReplaceAll is what I use a lot...I guess is not about DeleteCases...:-)
Sep 21, 2015 at 9:16 comment added xyz @ubpdqn or like this :b//. {} -> Sequence[]
Sep 21, 2015 at 8:36 comment added ubpdqn for fun i was going to post FixedPoint[# /. {} -> Sequence[] &, b] but pointless really...felt like popping bubblewrap.
Sep 21, 2015 at 8:34 comment added ciao Give DeleteCases[Map[Flatten, b, {2}], {{} ..}] a whirl...
Sep 21, 2015 at 8:08 history answered Mr.Wizard CC BY-SA 3.0