[Numpy-discussion] Change of signature for copyswap function ?

2006-08-10 Thread Pierre Barbier de Reuille
Hi,

in my documentation, the copyswap function in the PyArray_ArrFuncs
structure is supposed to have this signature:

copyswap (void) (void* dest, void* src, int swap, int itemsize)

However, in the latest version of NumPy, the signature is:

copyswap (void) (void*, void*, int, void*)

My question is: what correspond to the last void* ?

Thanks,

Pierre



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Re: [Numpy-discussion] "boolean" type

2006-07-24 Thread Pierre Barbier de Reuille
Ivan Vilata i Balaguer wrote:
> En/na Pierre Barbier de Reuille ha escrit::
>
>   
>>>>> import numpy
>>>>> numpy.__version__
>>>>>   
>> '0.9.9.2852'
>> 
>>>>> numpy.bool_
>>>>>   
>> 
>> 
>
> Sorry if I didn't make my question clear.  What I find lacking is a
> ``numpy.boolean`` type which is to ``numpy.bool_`` the same as
> ``numpy.string`` is now to ``numpy.str_`` (i.e. a pure reference with a
> prettier name).  Otherwise I'm not getting what you're meaning! C:)
>
> ::
>
>   Ivan Vilata i Balaguer   >qo<   http://www.carabos.com/
>  Cárabos Coop. V.  V  V   Enjoy Data
> ""
>
>   
Ok, so maybe it is because it is called "bool8" ? So that it is clear
that it takes 8 bits ?

Pierre

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Re: [Numpy-discussion] "boolean" type

2006-07-24 Thread Pierre Barbier de Reuille
Ivan Vilata i Balaguer wrote:
> Hi all,
>
> Since there is a "string" type which is the same as "str_", how come
> there is no "boolean" type which is the same as "bool_"?  Did I miss
> some design decision about naming?  You know, just for completeness, not
> that it is some kind of problem at all! ;)
>   
Well ...

>>> import numpy
>>> numpy.__version__
'0.9.9.2852'
>>> numpy.bool_


Pierre
> Cheers,
>
> ::
>
>   Ivan Vilata i Balaguer   >qo<   http://www.carabos.com/
>  Cárabos Coop. V.  V  V   Enjoy Data
> ""
>
>   
> 
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
>
> ___
> Numpy-discussion mailing list
> Numpy-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Re: [Numpy-discussion] What to do about numarray extension modules?

2006-07-18 Thread Pierre Barbier de Reuille
Sebastian Haase wrote:
> I'm using nd_image extensively. Considering that SciPy seem to install much 
> easier these days than I remember I would be just happy to put them in to 
> SciPy.  
>   
Well, what is the content of nd_image and image, compared to scipy.ndimage ?
> Some numarray people prefer a transitional "special place". I remember that 
> there was a discussion maybe a year ago of making SciPy so modular that 
> (some?) sub-packages would be installable completely independent anyway - 
> that would be the best :-)
>
> -Sebastian Haase
>
> On Tuesday 18 July 2006 12:09, Robert Kern wrote:
>   
>> Travis Oliphant wrote:
>> 
>>> I'd like to get suggestions about what to do about the remaining
>>> numarray extension modules that are not addressed in NumPy (convolve,
>>> image, nd_image).   There will be people coming from numarray that will
>>> be using these modules.
>>>
>>> Of course, my opinion is that they should not have been placed in
>>> Numarray to begin with as the fit better as modules in SciPy.
>>>
>>> But, given the situation.  Should we bring them over to NumPy?  Or,
>>> perhaps provide a small package that contain these modules separately?
>>>   
>> I'm definitely -1 on putting them in numpy. numpy is large enough as it is.
>> I'm -0 on making a standalone package. The time would be better spent on
>> making sure that scipy subpackages can be downloaded, built and installed
>> individually.
>> 
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Numpy-discussion mailing list
> Numpy-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>   



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


[Numpy-discussion] ImportError while creating a Python module using NumPy

2006-06-16 Thread Pierre Barbier de Reuille
Hi,

I have an extension library which I wanted to interface with NumPy ...
So I added the import_array() and all the needed stuff so that it now
compiles. However, when I load the library I obtain :

ImportError: No module named core.multiarray

I didn't find anything on the net about it, what could be the problem ?

Thanks,

Pierre


___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion