When we are changing the __setitem__ method to allow slices, if the slicing returns several indices (a sub-matrix, like in the example given in the HW), is every one of those indices in the original matrix supposed to be assigned val?
Date: 08 Dec 2012 13:39
Number of posts: 5
RSS: New posts
val is of type matrix, and so vals's entries change self's entries.
Amir, i think you should post an announcment in the main page and change the worksheet-
the trivial thing we understand from the question is that val is only a number and not a matrix
I second that. There was no way of understanding it from the written text.