Dear all,
I have a two-dimensional array:
a = array([[1,2,3],[0,2,1],[5,7,8]])
I want to reorder it by the last column in descending order, so that I get:
b =array([[5, 7, 8],[1, 2, 3],[0, 2, 1]])
What I did first is the following, which reorders the array in ascending
order (I found that
Hi,
On Thu, Aug 2, 2012 at 3:43 PM, Nicole Stoffels
nicole.stoff...@forwind.dewrote:
Dear all,
I have a two-dimensional array:
a = array([[1,2,3],[0,2,1],[5,7,8]])
I want to reorder it by the last column in descending order, so that I get:
b =array([[5, 7, 8],[1, 2, 3],[0, 2, 1]])
Thanks eat! It helps and it's so easy! :)
On 02.08.2012 14:59, eat wrote:
Hi,
On Thu, Aug 2, 2012 at 3:43 PM, Nicole Stoffels
nicole.stoff...@forwind.de mailto:nicole.stoff...@forwind.de wrote:
Dear all,
I have a two-dimensional array:
a = array([[1,2,3],[0,2,1],[5,7,8]])
Hello,
The attached .npy file was written from custom C++ code. It loads
fine in Numpy 1.6.2 with Python 2.6 installed through MacPorts, but
fails on a different machine with Numpy 2.0.0 installed via Superpack:
box:array% which python
/usr/bin/python
box:array% which python
box:array% python
On Thu, Aug 2, 2012 at 8:46 PM, Geoffrey Irving irv...@naml.us wrote:
Hello,
The attached .npy file was written from custom C++ code. It loads
fine in Numpy 1.6.2 with Python 2.6 installed through MacPorts, but
fails on a different machine with Numpy 2.0.0 installed via Superpack:
Hi,
I have a question about the licence for NumPy's codebase. I am currently
writing a library and I'd like to release under some BSD-type licence.
Unfortunately, my choice to link against MIT's FFTW library (released
under the GPL) means that, in its current state, this is not possible.
I'm an
On Thu, Aug 2, 2012 at 1:26 PM, Robert Kern robert.k...@gmail.com wrote:
On Thu, Aug 2, 2012 at 8:46 PM, Geoffrey Irving irv...@naml.us wrote:
Hello,
The attached .npy file was written from custom C++ code. It loads
fine in Numpy 1.6.2 with Python 2.6 installed through MacPorts, but
fails
On Thu, Aug 2, 2012 at 11:41 PM, Geoffrey Irving irv...@naml.us wrote:
On Thu, Aug 2, 2012 at 1:26 PM, Robert Kern robert.k...@gmail.com wrote:
On Thu, Aug 2, 2012 at 8:46 PM, Geoffrey Irving irv...@naml.us wrote:
Hello,
The attached .npy file was written from custom C++ code. It loads
fine
On Thu, Aug 2, 2012 at 3:13 PM, Robert Kern robert.k...@gmail.com wrote:
On Thu, Aug 2, 2012 at 11:41 PM, Geoffrey Irving irv...@naml.us wrote:
On Thu, Aug 2, 2012 at 1:26 PM, Robert Kern robert.k...@gmail.com wrote:
On Thu, Aug 2, 2012 at 8:46 PM, Geoffrey Irving irv...@naml.us wrote:
Hello,
On Thu, Aug 02, 2012 at 09:44:53PM +0100, Damon McDougall wrote:
I have a question about the licence for NumPy's codebase. I am currently
writing a library and I'd like to release under some BSD-type licence.
Unfortunately, my choice to link against MIT's FFTW library (released
under the GPL)
This should be completely fine.The fftpack.h file indicates that fftpack
code came from Tela originally anyway and was translated from the Fortran code
FFTPACK.
Good luck with your project.
-Travis
On Aug 2, 2012, at 3:44 PM, Damon McDougall wrote:
Hi,
I have a question about the
11 matches
Mail list logo