[PYTHON MATRIX-SIG] Bug

Konrad Hinsen hinsen@ibs.ibs.fr
Fri, 25 Oct 96 10:24:10 +0100


> > True. So how about allowing rank-0 arrays only for the types which
> > don't have scalar counterparts in Python, 
> 
> I also want to be able to write a * array(3.14, a.typecode()) sometimes, so
> I need to be able to create them with any type.

That expression would be allowd according to my proposal, but return
standard scalars if the typecode allows that.

Konrad.
-- 
-------------------------------------------------------------------------------
Konrad Hinsen                          | E-Mail: hinsen@ibs.ibs.fr
Laboratoire de Dynamique Moleculaire   | Tel.: +33-76.88.99.28
Institut de Biologie Structurale       | Fax:  +33-76.88.54.94
41, av. des Martyrs                    | Deutsch/Esperanto/English/
38027 Grenoble Cedex 1, France         | Nederlands/Francais
-------------------------------------------------------------------------------

=================
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================