[PYTHON MATRIX-SIG] [tbyang@icf.llnl.gov: Some subtlety in reaching items of a matrix]

P. Dubois dubois@kristen.llnl.gov
Fri, 10 Nov 1995 09:20:09 -0800


I think we will sooner or later get time to make the change discussed before
so that c[0,1] is a euphemism for c[(0,1)]. Assuming that, allowing
c[0][1] to be a reference while c[0,1] is a copy
doesn't seem too hard to explain to people. And I think the latter will 
be used much more than the former for use in expressions. 

I think the compromise adopted is far better than the alternatives; this 
class has to have good performance and we certainly want easy ways to 
assign values to row and columns at vector speed. 

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

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