[PEP draft 2] Adding new math operators

Konrad Hinsen hinsen at cnrs-orleans.fr
Wed Aug 9 11:29:22 EDT 2000


Robin Becker <robin at jessikat.fsnet.co.uk> writes:

> I thought that's what you must be implying. The implementation part is
> the problem ie can you 'fake' the conversions without too much work.

Yes. This is much simpler to implement than any other proposal in this
thread.

> Can't numpy already present the same data in strange ways ie isn't the
> header data separate from the real data so that I can set B=A[1,:]
> without creating a new copy of the first row (ie B is a slice).

Exactly. One would simply generate a second header referring to the
same data and with a different type information.
-- 
-------------------------------------------------------------------------------
Konrad Hinsen                            | E-Mail: hinsen at cnrs-orleans.fr
Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.55.69
Rue Charles Sadron                       | Fax:  +33-2.38.63.15.17
45071 Orleans Cedex 2                    | Deutsch/Esperanto/English/
France                                   | Nederlands/Francais
-------------------------------------------------------------------------------



More information about the Python-list mailing list