Feb. 7, 2007
10:52 p.m.
Keith Goodman wrote:
I'd like to know what the -1 means.
It means "fill in with whatever is necessary to make the size correct given the other specified dimensions".
But first I'm trying to figure out why there are two reshapes?
reshape() used to be simply a function, not a method.
Do they behave identically? The doc strings make it look like they might not.
The docstrings are different only because I updated the one and not, yet, the other. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco