On 02/28/2010 10:58 PM, Pierre GM wrote:
> On Mar 1, 2010, at 1:02 AM, Peter Shinners wrote:
>
>>> Here is the code as I would like it to work.
>>>
>> http://python.pastebin.com/CsEnUrSa
>>
>>
>> import numpy as np
>>
>> values = np.array((40, 18, 37, 9, 22))
>> index = np.arange(3)[Non
Excellent--this setup works perfectly! In the areas I was concentrating on,
the the speed increased an order of magnitude.
However, the overall speed seems to have dropped. I believe this may be
because the heavy indexing that follows on the result is slower in numpy.
Is this a correct analysis?
This is how I always do it:
In [1]: import numpy as np
In [3]: tmat = np.array([[0., 1., 0., 5.],[0., 0., 1., 3.],[1., 0., 0.,
2.]])
In [4]: tmat
Out[4]:
array([[ 0., 1., 0., 5.],
[ 0., 0., 1., 3.],
[ 1., 0., 0., 2.]])
In [5]: points = np.random.random((5, 3))
In
On Mon, Mar 1, 2010 at 2:04 PM, Tom Loredo wrote:
>
> Bruce Southey wrote:
>
> On Fri, Feb 26, 2010 at 6:59 PM, David Warde-Farley
> wrote:
>> On 26-Feb-10, at 7:43 PM, Charles سمير Doutriaux
>> wrote:
>>
>>> Any idea on how to build a pure 32bit numpy on snow leopard?
>>
>> If I'm not mistaken
On Mon, Mar 1, 2010 at 6:52 AM, Ralf Gommers
wrote:
> Here are some requests / things I think need to be done before a 1.4.1 RC1
> can be put out.
>
> 1. Bump up the version to 1.4.1
> 2. Update the release notes, including an explanation of why 1.4.0 was
> pulled.
> 3. Patrick and I need info on
Martin Raspaud smhi.se> writes:
> We are using at the moment a c extension which should manipulate masked
> arrays.
> What we do is to fill the masked array with a given value (say 65535 if we run
> uint16 arrays), do the manipulation, and convert back to masked arrays when we
> go back to pytho
On Mon, 1 Mar 2010 15:49:52 -0500
josef.p...@gmail.com wrote:
> On Mon, Mar 1, 2010 at 3:23 PM, Tom Loredo
> wrote:
>>
>> Just wanted to report qualified success installing NumPy
>>& SciPy under
>> a 64-bit build of Python-2.6.4 (universal framework) on
>>OS X 10.6.2
>> (current Snow Leopard).
On Mon, Mar 1, 2010 at 3:23 PM, Tom Loredo wrote:
>
> Just wanted to report qualified success installing NumPy & SciPy under
> a 64-bit build of Python-2.6.4 (universal framework) on OS X 10.6.2
> (current Snow Leopard). I am using the current SVN checkouts
> (numpy r8270, scipy r6250).
>
> NumPy
Just wanted to report qualified success installing NumPy & SciPy under
a 64-bit build of Python-2.6.4 (universal framework) on OS X 10.6.2
(current Snow Leopard). I am using the current SVN checkouts
(numpy r8270, scipy r6250).
NumPy has installed successfully for some time now and the current
S
Bruce Southey wrote:
On Fri, Feb 26, 2010 at 6:59 PM, David Warde-Farley wrote:
> On 26-Feb-10, at 7:43 PM, Charles سمير Doutriaux
> wrote:
>
>> Any idea on how to build a pure 32bit numpy on snow leopard?
>
> If I'm not mistaken you'll probably want to build against the
> Python.org Python rat
Thx David,
Maybe i will have to try that as a temporary fix. But in the long run i do want
to build my own Python.
C.
On Feb 26, 2010, at 4:59 PM, David Warde-Farley wrote:
> On 26-Feb-10, at 7:43 PM, Charles سمير Doutriaux wrote:
>
>> Any idea on how to build a pure 32bit numpy on snow leopa
On Mar 1, 2010, at 10:39 AM, Martin Raspaud wrote:
> Hi,
>
> We're talking map projections, so that means that the values will move around,
> including masked ones...
>
> So filling the array with a given value is a way of projecting the array and
> the
> mask in one shot...
OK then. Just make
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pierre GM skrev:
> On Mar 1, 2010, at 10:04 AM, Martin Raspaud wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Hi all,
>>
>> We are using at the moment a c extension which should manipulate masked
>> arrays.
>> What we do is to fill t
On Mar 1, 2010, at 10:04 AM, Martin Raspaud wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi all,
>
> We are using at the moment a c extension which should manipulate masked
> arrays.
> What we do is to fill the masked array with a given value (say 65535 if we run
> uint16 arrays)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
We are using at the moment a c extension which should manipulate masked arrays.
What we do is to fill the masked array with a given value (say 65535 if we run
uint16 arrays), do the manipulation, and convert back to masked arrays when we
go ba
Hi all,
Here are some requests / things I think need to be done before a 1.4.1 RC1
can be put out.
1. Bump up the version to 1.4.1
2. Update the release notes, including an explanation of why 1.4.0 was
pulled.
3. Patrick and I need info on how to upload to Sourceforge. David or Jarrod,
can you te
On Mon, Mar 1, 2010 at 10:06 PM, wrote:
> This test has been reported to fail for a while on Windows. It also
> fails with numpy 1.4.0
>
> Thanks Josef. In that case I'm good to go.
Ralf
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http
On Mon, Mar 1, 2010 at 8:40 AM, Ralf Gommers
wrote:
> Finally I got my Wine environment sorted out - I'm now able to build
> superpack installers for both Python 2.5 and 2.6. I tested the 2.6 installer
> on Windows XP, and got a single test failure. This exact same test also is
> the only test fai
Finally I got my Wine environment sorted out - I'm now able to build
superpack installers for both Python 2.5 and 2.6. I tested the 2.6 installer
on Windows XP, and got a single test failure. This exact same test also is
the only test failure with the numpy 1.3 installer on sourceforge. So the
inst
2010/3/1 Charles R Harris :
> On Sun, Feb 28, 2010 at 7:58 PM, Ian Mallett wrote:
>> Excellent--and a 3D rotation matrix is 3x3--so the list can remain n*3.
>> Now the question is how to apply a rotation matrix to the array of vec3?
>
> It looks like you want something like
>
> res = dot(vec, rot)
20 matches
Mail list logo