April 11, 2011
3:02 a.m.
Den 11.04.2011 04:17, skrev Sturla Molden:
Consider that x[i][j] means ( x[i] )[j]. Then consider that x[i] in your case returns an instance of Record, not ndarray.
Sorry, disregard this. a[i] is the same as a[i,:], which means that a[i,j] and a[i][j] will return the same. But a[i,j] will be faster as you avoid a function call and avoid having to construct a view array for row i. It's getting late :( Sturla