Re: [Numpy-discussion] dot documentation

2009-08-07 Thread Charles R Harris
On Fri, Aug 7, 2009 at 3:24 PM, T J wrote: > Oh. b.shape = (2,). So I suppose the second to last dimension is, in > fact, the last dimension...and 2 == 2. > > nvm > > On Fri, Aug 7, 2009 at 2:19 PM, T J wrote: > > Hi, the documentation for dot says that a value error is raised if: > > > >I

Re: [Numpy-discussion] dot documentation

2009-08-07 Thread T J
Oh. b.shape = (2,). So I suppose the second to last dimension is, in fact, the last dimension...and 2 == 2. nvm On Fri, Aug 7, 2009 at 2:19 PM, T J wrote: > Hi,  the documentation for dot says that a value error is raised if: > >    If the last dimension of a is not the same size as the > secon

[Numpy-discussion] dot documentation

2009-08-07 Thread T J
Hi, the documentation for dot says that a value error is raised if: If the last dimension of a is not the same size as the second-to-last dimension of b. (http://docs.scipy.org/doc/numpy/reference/generated/numpy.dot.htm) This doesn't appear to be the case: >>> a = array([[1,2],[3,4]]) >>>