[PYTHON MATRIX-SIG] Pseudo Indices

Hinsen Konrad hinsenk@ere.umontreal.ca
Tue, 30 Jan 1996 15:00:59 -0500


   > c[:, 1:2] --> c[Slice(), Slice(1,2)]

   This is fine (and what I thought you were proposing all the time).  I
   would consider a patch if the existing 1-dim sequence and mapping
   types are not affected.

What do you mean by "not affected"? That their semantics stays
the same (no problem) or that their implementation needn't
be changed? I am not sure the latter is possible for C-types.

   > a[RubberIndex, 3].

   You could sneak this into the abovementioned patch as "a[::, 3]".

I like that idea...

If I had enough time, I'd look at this, but that might not happen
for a while. Any other volunteers?

-------------------------------------------------------------------------------
Konrad Hinsen                     | E-Mail: hinsenk@ere.umontreal.ca
Departement de chimie             | Tel.: +1-514-343-6111 ext. 3953
Universite de Montreal            | Fax:  +1-514-343-7586
C.P. 6128, succ. Centre-Ville     | Deutsch/Esperanto/English/Nederlands/
Montreal (QC) H3C 3J7             | Francais (phase experimentale)
-------------------------------------------------------------------------------

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

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