[MATRIX-SIG] cmp?

Konrad Hinsen hinsen@ibs.ibs.fr
Wed, 18 Jun 1997 10:10:36 +0200


> You're probably right that Numeric deserves
> to have an array as the result of cmp.  The
> desire to generalize cmp has occured to many,
> including me.

Generalizing cmp() seems obvious, but creates other problems.
If cmp() returns an array, what should if and while statement
do with the result? One answer is to apply the "check for zero",
but it is not at all clear how that should be implemented for
arrays.
-- 
-------------------------------------------------------------------------------
Konrad Hinsen                          | E-Mail: hinsen@ibs.ibs.fr
Laboratoire de Dynamique Moleculaire   | Tel.: +33-4.76.88.99.28
Institut de Biologie Structurale       | Fax:  +33-4.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
_______________