Bala subramanian wrote:
Friends,
Excuse me if this question is not appropriate for this forum. I have a
matrix of size 550,550. I want to extract only part of this matrix say first
330 elements, i dnt need the last 220 elements in the matrix. is there any
function in numpy that can do this kind of extraction. I am quite new to
numpy. How can do the same ?

Thank you,
Bala

I don't know numpy, and it probably would be better to use that forum. But there are several people here who do, and one of them will probably help.

However, I would point out that if you fetch the first 220 elements of a 550x550 matrix, you'll have 302170 elements left.

DaveA

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to