[SciPy-user] Shape Problem

Sam frizou excellent.frizou at gmail.com
Wed Oct 18 18:18:35 EDT 2006


<class 'numpy.core.defmatrix.matrix'>
0.5.0.2116
1.1.2880

On 10/18/06, Travis Oliphant <oliphant at ee.byu.edu> wrote:
> 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
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>


-- 
On obtient beaucoup plus avec un mot gentil et une arme qu'avec
seulement un mot gentil - "Al Capone".



More information about the SciPy-User mailing list