Re: [Numpy-discussion] Matrix vs ndarray

2008-04-17 Thread Anne Archibald
On 17/04/2008, Santanu Chatterjee <[EMAIL PROTECTED]> wrote: > Hi Numpy users, > I used MATLAB to do numerical calculations for a long time. Recently I > am digging into python and numpy. I am wondering about the following > question : > > 1) What is the difference between ndarray and matrix in

Re: [Numpy-discussion] Matrix vs ndarray

2008-04-17 Thread Bill Baxter
You might find out a lot from reading through this page: http://www.scipy.org/NumPy_for_Matlab_Users What I think that doesn't say is why the two classes are needed in NumPy. Basically, the reason for that is that Matlab has .* and * which mean different things, but Python only has the one * ope

Re: [Numpy-discussion] Matrix vs ndarray

2008-04-17 Thread Alan G Isaac
On Thu, 17 Apr 2008, Santanu Chatterjee apparently wrote: > 1) What is the difference between ndarray and matrix in > numpy? My idea is that having N-dimensional array is > sufficient (of course a MATLAB users point of view). If > anyone can provide some idea, I will appreciate it. Matrices ar

[Numpy-discussion] Matrix vs ndarray

2008-04-17 Thread Santanu Chatterjee
Hi Numpy users, I used MATLAB to do numerical calculations for a long time. Recently I am digging into python and numpy. I am wondering about the following question : 1) What is the difference between ndarray and matrix in numpy? My idea is that having N-dimensional array is sufficient (of cou