[Numpy-discussion] Deleting arrays.

Konrad Hinsen hinsen at cnrs-orleans.fr
Wed Feb 25 08:37:10 EST 2004


On Wednesday 25 February 2004 16:18, Andrea Riciputi wrote:

> It could be, but how?

If you don't mind making it Python-specific, you can have it create NumPy 
arrays directly and return them to Python. If you do want to keep it "Python 
clean", then modify it in such a way that it doesn't allocate any memory, but 
takes the data space of the array as input.

Konrad.
-- 
-------------------------------------------------------------------------------
Konrad Hinsen                            | E-Mail: hinsen at cnrs-orleans.fr
Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.56.24
Rue Charles Sadron                       | Fax:  +33-2.38.63.15.17
45071 Orleans Cedex 2                    | Deutsch/Esperanto/English/
France                                   | Nederlands/Francais
-------------------------------------------------------------------------------





More information about the NumPy-Discussion mailing list