On Mar 25, 2013, at 9:32 AM, Jonathan Guyer wrote: > > On Mar 23, 2013, at 6:00 PM, Serbulent UNSAL wrote: > >>> Much more expediently done with >>> >>> return tmp.flatten() >>> >> >> No itertools.chain is clearly fastest method. It can be seen on >> http://stackoverflow.com/questions/406121/flattening-a-shallow-list-in-python > > But that post is about finding the fastest way to generate the
Oops. I never finished that thought. But that post is about finding the fastest way to flatten lists of lists, and has nothing to do with flattening numpy arrays. _______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
