[SciPy-user] Shape Problem

Travis Oliphant oliphant.travis at ieee.org
Wed Oct 18 12:41:19 CDT 2006


Sam frizou wrote:
> Actually, my matrix M comes from a ndarray N:
>
> M=asmatrix(N)
>
> So, M is not a numpy.matrix object (for which I do not have this shape
> problem), but a numpy.core.defmatrix.matrix object (for wich I have
> the shape problem).
>   
These are the same thing.  There is only one matrix object.    Please 
show the code that is giving you the problem as I cannot reproduce it.

-Travis



More information about the SciPy-user mailing list