[SciPy-user] Shape Problem

Travis Oliphant oliphant at ee.byu.edu
Wed Oct 18 17:55:28 EDT 2006


Sam frizou wrote:

>from scipy import *
>
>
>N=zeros((20,25))
>print N[19:,19:].shape
># >>> (1,6)
>
>
>M=matrix(N)
>print M[19:,19:].shape
># >>> (6,1)
>  
>

Please run the following

from scipy import *

print repr(matrix)

import scipy
print scipy.__version__

import numpy
print numpy.__version__


Thanks,

-Travis




More information about the SciPy-User mailing list