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
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
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]])
>>>