[Matrix-SIG] rich comparisons, version 0.2
Mon, 20 Apr 1998 14:42:00 -0700 (PDT)
Since I got a little bit of feedback, I'm putting up a revised version of
the proposal which would allow you to do:
data[data > 255] = 255
data = where(umath.greater(data, 255), 255, data)
up on my newly redesigned website:
- folks prefered the fortran/perl names (__le__ instead of
__less_equal__) by an overwhelming margin ((guido, tim_one) > da)
- more discussion of how to save chained comparisons.
Followup-To: main list.