select all rows (resp. columns) out of matrix

seany seany at uni-bonn.de
Thu Nov 14 14:06:26 PST 2013


How do I access All rows (resp. columns ) of a Matrix / 
multidimensional array?

In scilab, you write array_var(:,row_index), colon meaning all 
columns, at that particular row given by row index will be 
selected.

can you, forexample, in D, write, array_var[0][] to select all 
elements (columns, in this case i believe?) of array_var[0] ?



More information about the Digitalmars-d-learn mailing list