[MATRIX-SIG] Re: [PYTHON MATRIX-SIG] request for idioms
Andrew P. Mullhaupt
amullhau@ix.netcom.com
Tue, 10 Jun 1997 20:37:25 -0400
Phil Austin wrote:
>
> In contrast, Konrad's module handles it like this:
>
> print b[1:5,2:5]
>
> I don't know of another language that let's you pass subscripts to
> a C extension in this way.
It's not that uncommon, presumably it's that you haven't used the
languages where it is possible/easy. The S language, and some of the
post-APL languages do this, and with their more general subscripting as
well.
Of course, this is not to take anything away from Konrad's module.
Later,
Andrew Mullhaupt
_______________
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________