David Cournapeau wrote:
> Robert Kern wrote:
>
>> David Cournapeau wrote:
>>
>>
>>
>>> I am willing to volunteer for the scipy part: I have quite extensive
>>> experience with building on linux now, and I can now build on windows
>>> without too much difficulties (I mean hardware-wise)
Robert Kern wrote:
> David Cournapeau wrote:
>
>
>> I am willing to volunteer for the scipy part: I have quite extensive
>> experience with building on linux now, and I can now build on windows
>> without too much difficulties (I mean hardware-wise).
>>
>> Concerning the release date: it basic
Geoffrey Zhu wrote:
> This is probably off the topic. Do you know such a function for
> regular python objects? For example, I know a PyObject is a number,
> but I don't know the exact type. Is there any quick way to convert it
> to a C double type?
I just answered your question on the python-lis
On 7/26/07, Robert Kern <[EMAIL PROTECTED]> wrote:
> Geoffrey Zhu wrote:
> > How do I handle this situation? Is there any way to access any data
> > type that can be converted into a double?
> I usually use PyArray_FROM_OTF(). That handles the usual cases. It's
> pretty much
> >>
Zachary Pincus wrote:
> Hello all,
>
> I just recently updated to the SVN version of numpy to test my code
> against it, and found that a small change made to
> numpy.get_printoptions (it now returns a dictionary instead of a
> list) breaks my code.
>
> Here's the changeset:
> http://projec
Geoffrey Zhu wrote:
> How do I handle this situation? Is there any way to access any data
> type that can be converted into a double?
I usually use PyArray_FROM_OTF(). That handles the usual cases. It's
pretty much
like starting off a pure Python function with asarray(x, dty
> >>> How do I handle this situation? Is there any way to access any data
> >>> type that can be converted into a double?
> >> I usually use PyArray_FROM_OTF(). That handles the usual cases. It's
> >> pretty much
> >> like starting off a pure Python function with asarray(x, dtype=whatever).
> >>
>
Geoffrey Zhu wrote:
> On 7/26/07, Robert Kern <[EMAIL PROTECTED]> wrote:
>> Geoffrey Zhu wrote:
>>> Hi Everyone,
>>>
>>> I finally build a C extension. The one problem I found is that it is
>>> too picky about the input. For example, it accepts
>>> array([1.0,2.0,3.0]) with no problem, but when I p
On 7/26/07, Robert Kern <[EMAIL PROTECTED]> wrote:
> Geoffrey Zhu wrote:
> > Hi Everyone,
> >
> > I finally build a C extension. The one problem I found is that it is
> > too picky about the input. For example, it accepts
> > array([1.0,2.0,3.0]) with no problem, but when I pass in
> > array([1,2,3
Geoffrey Zhu wrote:
> Hi Everyone,
>
> I finally build a C extension. The one problem I found is that it is
> too picky about the input. For example, it accepts
> array([1.0,2.0,3.0]) with no problem, but when I pass in
> array([1,2,3]), since the dtype of the array is now int, my extension
> does
Hi Everyone,
I finally build a C extension. The one problem I found is that it is
too picky about the input. For example, it accepts
array([1.0,2.0,3.0]) with no problem, but when I pass in
array([1,2,3]), since the dtype of the array is now int, my extension
does not like it.
How do I handle thi
Matthieu Brucher wrote:
> Windows binaries must be compiled with the same compiler as Python, so
> it is (sadly IMHO) Visual 2003. Well in fact, I could install one if
> needed (I have a licence)
>
>
i am going to see if my department can grab a license. if so, i would be
willing to collaborate to
Hello -
I've come up with the following test case to illustrate my problem:
file empty.f:
subroutine empty(arr, nx,ny )
implicit none
integer, intent(in) :: nx,ny
real, dimension(nx,ny), intent(out) :: arr
print *, "in empty."
arr = 1.0e
Ludwig,
Masked arrays will do exactly what you want. You have your choice of
the numpy.ma version or the external maskedarray class.
Eric
Ludwig M Brinckmann wrote:
> Hi there,
>
> I have a 2D array of size, lets say 4 * 512, which I need to
> downsample by a step of 4 in the y direction
David Cournapeau wrote:
> I am willing to volunteer for the scipy part: I have quite extensive
> experience with building on linux now, and I can now build on windows
> without too much difficulties (I mean hardware-wise).
>
> Concerning the release date: it basically means giving enough time t
Steven H. Rogers wrote:
> Robert Kern wrote:
>
>> Steven H. Rogers wrote:
>>
>>
>>> Robert Kern wrote:
>>>
>>>
Steven H. Rogers wrote:
> I don't know of any simple build instructions for Windows, but if you're
> patient, there will
Robert Kern wrote:
> Steven H. Rogers wrote:
>
>> Robert Kern wrote:
>>
>>> Steven H. Rogers wrote:
>>>
>>>
I don't know of any simple build instructions for Windows, but if you're
patient, there will probably be updated packaged releases of SciPy +
NumPy that play w
Hi there,
I have a 2D array of size, lets say 4 * 512, which I need to downsample
by a step of 4 in the y direction, and step 3 in the x direction, so I would
get an array of 1 * 170 (or 171, the edges do not matter much). But what
I need to retain are the maxima and minima in every 4*3 w
18 matches
Mail list logo