Hello,
> From: santhu kumar
>
> After looking at the suggestions I have checked my matrix again and found
> that the matrix was wrong.(Has some NAN's and other values which are wrong).
> After correcting it it works fine.
Not to beat a dead horse, but here's an (ancient) related numpy ticket:
> Date: Wed, 22 Jun 2011 11:30:47 -0400
> From: Alex Flint
> Subject: [Numpy-discussion] argmax for top N elements
>
> Is it possible to use argmax or something similar to find the locations of
> the largest N elements in a matrix?
I would also be interested in an O(N) argmax/argmin for indices
> On Mon, Jun 6, 2011 at 6:57 AM, gary ruben wrote:
> > I learn a lot by watching the numpy and scipy lists (today Olivier
> > taught me about heapq :), but he may not have noticed that Python 2.4
> > added an nsmallest method)
I needed indices of the selected elements as well (not just the k-sm
Hello,
what code paths does `numpy.dot(matrix, matrix)` take with regard to the order
of the input matrices (c/fortran contiguous?).
In particular, under what conditions does it make a copy of the input matrices,
and under which conditions does it set the gemm transposition flags internally?
D