On Tue, Apr 29, 2008 at 4:41 PM, Anne Archibald <[EMAIL PROTECTED]>
wrote:
> Timothy Hochberg has proposed a generalization of the matrix mechanism
> to support manipulating arrays of linear algebra objects. For example,
> one might have an array of matrices one wants to apply to an array of
> vec
On Tue, Apr 29, 2008 at 10:31 PM, Travis E. Oliphant <[EMAIL PROTECTED]>
wrote:
> Nadav Horesh wrote:
> > You open here a Pandora box:
> > What should I do if I want to run an operation on elements of an array
> which are not in the library. The usual answers are either use more memory (
> (A*B).s
Nadav Horesh wrote:
> You open here a Pandora box:
> What should I do if I want to run an operation on elements of an array which
> are not in the library. The usual answers are either use more memory (
> (A*B).sum(axis=1) ), or more time ([dot(A[i],B[i]) for i in len(A)]).
>
> Would your issue c
Nadav Horesh wrote:
> You open here a Pandora box:
> What should I do if I want to run an operation on elements of an array which
> are not in the library. The usual answers are either use more memory (
> (A*B).sum(axis=1) ), or more time ([dot(A[i],B[i]) for i in len(A)]).
>
> Would your issue c
way to iterate over array in the C level, where the function/operation is
defined in the C level, without the overhead of python?
Nadav.
-הודעה מקורית-
מאת: [EMAIL PROTECTED] בשם Anne Archibald
נשלח: ד 30-אפריל-08 01:41
אל: Discussion of Numerical Python
נושא: [Numpy-discussion] dot
Timothy Hochberg has proposed a generalization of the matrix mechanism
to support manipulating arrays of linear algebra objects. For example,
one might have an array of matrices one wants to apply to an array of
vectors, to yield an array of vectors:
In [88]: A = np.repeat(np.eye(3)[np.newaxis,...