Stéfan van der Walt sun.ac.za> writes:
>
> On 16 April 2010 21:35, Paul Northug gmail.com> wrote:
> > how is it stored in memory, as [1, 2, 3, 4] or [1, 3, 2, 4]?
>
> The latter:
>
> In [22]: np.fromstring(str(x.data))
> Out[22]: array([ 1., 3., 2., 4.])
>
> > But when I call external lib
On Sat, Apr 17, 2010 at 2:01 PM, Eric Firing wrote:
> np.fix() no longer works for scalar arguments:
>
>
> In [1]:import numpy as np
>
> In [2]:np.version.version
> Out[2]:'2.0.0.dev8334'
>
> In [3]:np.fix(3.14)
> ---
> TypeE
np.fix() no longer works for scalar arguments:
In [1]:import numpy as np
In [2]:np.version.version
Out[2]:'2.0.0.dev8334'
In [3]:np.fix(3.14)
---
TypeError Traceback (most recent call last)
On 16 April 2010 21:35, Paul Northug wrote:
> how is it stored in memory, as [1, 2, 3, 4] or [1, 3, 2, 4]?
The latter:
In [22]: np.fromstring(str(x.data))
Out[22]: array([ 1., 3., 2., 4.])
> But when I call external libraries through ctypes with a.ctypes.data
> as argument, the external func
Paul Northug wrote:
> I'd like to use numpy fortran ordering in order to use some external
> libraries more easily, but it looks like I don't understand how it
> works and it is causing transposes that are confusing me.
>
> When I define an array as:
>
> a = np.array([[1.,2.],[3.,4.]], order='F',
Hi Dan
On 17 April 2010 06:50, Dan Roberts wrote:
> Hi everybody, my name is Dan Roberts, and my Google Summer of Code
> proposal was categorized under NumPy rather than PyPy, so it will end up
> being reviewed by mentors for the NumPy project. I'd like to take this
> chance to introduce mys
Dag Sverre Seljebotn wrote:
> Dan Roberts wrote:
>> Hello NumPy Users,
>> Hi everybody, my name is Dan Roberts, and my Google Summer of Code
>> proposal was categorized under NumPy rather than PyPy, so it will end up
>> being reviewed by mentors for the NumPy project. I'd like to take this
Dan Roberts wrote:
> Hello NumPy Users,
> Hi everybody, my name is Dan Roberts, and my Google Summer of Code
> proposal was categorized under NumPy rather than PyPy, so it will end up
> being reviewed by mentors for the NumPy project. I'd like to take this
> chance to introduce myself and m