[Numpy-discussion] NumPy arrays that use memory allocated from other libraries or tools

Lisandro Dalcin dalcinl@gmail....
Thu Sep 11 15:41:02 CDT 2008


On Wed, Sep 10, 2008 at 4:55 AM, Stéfan van der Walt <stefan@sun.ac.za> wrote:
> 2008/9/10 Travis E. Oliphant <oliphant@enthought.com>:
>> The post is
>>
>> http://blog.enthought.com/?p=62
>
> Very cool post, thank you!  I agree that it would be great to have
> such a mechanism in NumPy.
>

And then builtin PyCObject's (using PyCObject_FromVoidPtrAndDesc) is
your friend here, no need to implement a brand-new type :-).




-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594


More information about the Numpy-discussion mailing list