- Timestamp:
- 05/11/17 14:05:03 (8 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 14672
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Data/3.3
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Data/3.3 merged: 14672
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Data/3.3/ValueTypeMatrix.cs
r14186 r14969 201 201 } 202 202 203 public virtual IEnumerable<T> GetRow(int row) { 204 for (var col = 0; col < Columns; col++) { 205 yield return matrix[row, col]; 206 } 207 } 208 209 public virtual IEnumerable<T> GetColumn(int col) { 210 for (var row = 0; row < Rows; row++) { 211 yield return matrix[row, col]; 212 } 213 } 214 203 215 public override string ToString() { 204 216 if (matrix.Length == 0) return "[]";
Note: See TracChangeset
for help on using the changeset viewer.