[SciPy-dev] ticket 464
Alan G Isaac
Thu Jul 26 13:39:21 CDT 2007
> Alan G Isaac wrote:
>> That won't work. A flattened matrix is still a matrix.
>> But you can work with the flatiter representation.
>> if max(x.shape) == 1: x = x.flat.next()
On Thu, 26 Jul 2007 20:30:58 +0300 dmitrey <firstname.lastname@example.org> apparently wrote:
> the matrix is converted to array before the check:
> So I had checked - it works
OK, I see.
But I still like the the above solution:
it's more general and in the context less confusing.
Or so I claim. ;-)
Anyway, pick what you like.
More information about the Scipy-dev