Hi,
Since several people have been asking me how to use scons to build
python modules, I have started a wiki page on numpy wiki:
http://scipy.org/scipy/numpy/wiki/NumpyScons
This is really preliminary, but it should be enough to get you started
if you have simple needs (building a Ctypes e
Does someone have a clue ? I'm starting getting this with all my datasets,
always at the same line !
Matthieu
2007/10/23, Matthieu Brucher <[EMAIL PROTECTED]>:
>
> The problem reappeared today, same error, always in the line :
> xp = (x-self.loc) * (1/self.scale)
>
> When multiplying an array wit
Hello,
I just got back from a camping trip and haven't had time to check the
status of the remaining open tickets; but it looks like there are a
few tickets that are ready to close. So I am pushing the schedule
back a week (with the hope that we can close a few more tickets before
the 1.0.4 relea
>
> > Little correction, only c[(2,3)] gives me what I expect, not c[[2,3]],
> which
> > is even stranger.
>
> c[(2,3)] is the same as c[2,3] and obviously works as you expected.
Well, this is not indicated in the documentation.
c[[2,3]] is refered to as 'advanced indexing' in the numpy book.
Hi Karol
Thank you very much for the sleuth work here. We are in the midst of
software ATP so it helps a lot that I will be able to resolve this bug
properly.
Robert
On 10/29/07, Karol Langner <[EMAIL PROTECTED]> wrote:
>
> I opened a ticket for this (#602). Hopefully someone will confirm that
>
Matthieu Brucher gmail.com> writes:
>
>
> Little correction, only c[(2,3)] gives me what I expect, not c[[2,3]], which
> is even stranger.
c[(2,3)] is the same as c[2,3] and obviously works as you expected.
c[[2,3]] is refered to as 'advanced indexing' in the numpy book.
It will return element
Travis E. Oliphant wrote:
>>> An IronPython compatible version of NumPy would be great.Of course
>>> it could be done by using C# to write NumPy, but I'm not sure that this
>>> would really be any less work than creating a "glue" layer that allowed
>>> most (or all) C-Python extensions to wo
Sebastian Haase wrote:
> On 10/26/07, David Cournapeau <[EMAIL PROTECTED]> wrote:
>
>> P.S: IMHO, this is one of the main limitation of numpy (or any language
>> using arrays for speed; and this is really difficult to optimize: you
>> need compilation, JIT or similar to solve those efficiently).
Karol Langner wrote:
> I opened a ticket for this (#602). Hopefully someone will confirm that adding
> that Py_DECREF call fixes the leak and someone with write access patches it
> in svn.
>
Thanks for looking into this and isolating the problem...
-Travis O.
__
I opened a ticket for this (#602). Hopefully someone will confirm that adding
that Py_DECREF call fixes the leak and someone with write access patches it
in svn.
- Karol
--
written by Karol Langner
Sun Oct 28 23:29:18 EDT 2007
___
Numpy-discussion ma
Hi,
I think you will have to use non-contiguous arrays, it should be possible.
But I can't help you as I never use them.
Matthieu
2007/10/28, Sean Ross-Ross <[EMAIL PROTECTED]>:
>
> Hi, I am looking to create an __array_struct__ member for a c++
> vector> i have wrapped in python, where cppObj
On Friday 26 October 2007 05:39, Robert Crida wrote:
> I recently posted about a memory leak in numpy and failed to mention the
> version. The leak manifests itself in numpy-1.0.3.1 but is not present in
> numpy-1.0.2
>
> The following code reproduces the bug:
>
> import numpy as np
>
> a = np.arra
Hi, I am looking to create an __array_struct__ member for a c++
vector> i have wrapped in python, where cppObj
contains an array of floats.
Currently I have created an __array_struct__ for the cppObj and in
python I iterate over the vector of vectors and put all of the data
into a 1-d arr
Little correction, only c[(2,3)] gives me what I expect, not c[[2,3]], which
is even stranger.
2007/10/28, Matthieu Brucher <[EMAIL PROTECTED]>:
>
> Hi,
>
> I'm trying to get an item in an array when I only have another array
> giving the position.
>
> For instance:
>
> >>> c = numpy.arange(0., 3*
Hi,
I'm trying to get an item in an array when I only have another array giving
the position.
For instance:
>>> c = numpy.arange(0., 3*4*5).reshape((3,4,5))
>>> c***(numpy.array((2,3), dtype=int))
[55, 56, 57, 58, 59]
I'm trying to figure what to put between c and ((2,3)). I supposed that the
t
15 matches
Mail list logo