On Thu, Apr 29, 2010 at 12:30 PM, Pauli Virtanen wrote:
> Wed, 28 Apr 2010 14:12:07 -0400, Alan G Isaac wrote:
> [clip]
> > Here is a related ticket that proposes a more explicit alternative:
> > adding a ``dot`` method to ndarray.
> > http://projects.scipy.org/numpy/ticket/1456
>
> I kind of lik
On Thu, Apr 29, 2010 at 12:30 PM, Pauli Virtanen wrote:
>
> I think I'm going to apply this, unless someone complains, as I
> don't see any downsides (except maybe adding one more to the
> huge list of methods ndarray already has).
But one of the most badly needed ones, so run, don't walk to comm
On Thu, Apr 29, 2010 at 07:30:31PM +, Pauli Virtanen wrote:
> a.dot(b.dot(c))
> And here's an implementation:
>
> http://github.com/pv/numpy-work/commit/414429ce0bb0c4b7e780c4078c5ff71c113050b6
/me very happy.
Gaël
___
NumPy-Discussio
Pauli Virtanen wrote:
> Wed, 28 Apr 2010 14:12:07 -0400, Alan G Isaac wrote:
> [clip]
>
>> Here is a related ticket that proposes a more explicit alternative:
>> adding a ``dot`` method to ndarray.
>> http://projects.scipy.org/numpy/ticket/1456
>>
>
> I kind of like this idea. Simple, obvio
On Thu, Apr 29, 2010 at 1:30 PM, Pauli Virtanen wrote:
> Wed, 28 Apr 2010 14:12:07 -0400, Alan G Isaac wrote:
> [clip]
> > Here is a related ticket that proposes a more explicit alternative:
> > adding a ``dot`` method to ndarray.
> > http://projects.scipy.org/numpy/ticket/1456
>
> I kind of like
On Thu, Apr 29, 2010 at 1:30 PM, Pauli Virtanen wrote:
> Wed, 28 Apr 2010 14:12:07 -0400, Alan G Isaac wrote:
> [clip]
> > Here is a related ticket that proposes a more explicit alternative:
> > adding a ``dot`` method to ndarray.
> > http://projects.scipy.org/numpy/ticket/1456
>
> I kind of like
On Apr 29, 2010, at 2:30 PM, Pauli Virtanen wrote:
Wed, 28 Apr 2010 14:12:07 -0400, Alan G Isaac wrote:
[clip]
Here is a related ticket that proposes a more explicit alternative:
adding a ``dot`` method to ndarray.
http://projects.scipy.org/numpy/ticket/1456
I kind of like this idea. Simple,
Hi,
> I kind of like this idea. Simple, obvious, and leads
> to clear code:
>
> a.dot(b).dot(c)
>
> or in another multiplication order,
>
> a.dot(b.dot(c))
>
> And here's an implementation:
>
>
> http://github.com/pv/numpy-work/commit/414429ce0bb0c4b7e780c4078c5ff71c113050b6
Wed, 28 Apr 2010 14:12:07 -0400, Alan G Isaac wrote:
[clip]
> Here is a related ticket that proposes a more explicit alternative:
> adding a ``dot`` method to ndarray.
> http://projects.scipy.org/numpy/ticket/1456
I kind of like this idea. Simple, obvious, and leads
to clear code:
a.dot(b