d=c[3,] sets d equal to the third row of c.
d=c[,5] makes d equal to the fifth column of c.
d=c[{1 3},{2 3 4}] makes d a 2x3 matrix containing the entries
in rows 1 and 3 and columns 2,3 and 4 of c.
d=c[ ,+] creates a column vector d whose entries are the sums of
the row entries in c.
e=c[+,] makes e a row vector whose entries are the sums of the
columns of c.
Copyright © 1997 by Jerry Alan Veeh. All rights reserved.