- Timestamp:
- 12/01/20 09:19:42 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis/3.4/Dataset.cs
r17449 r17786 406 406 var value = variableValues[variableNames[columnIndex]][rowIndex]; 407 407 if (value is DoubleVector vector) { 408 return $"[{vector.ToVectorString(10, 80)}]"; 409 //const int maxCount = 10; 410 //string extension = vector.Count > maxCount ? ", ..." : ""; 411 //return $"[{string.Join(", ", vector.Cast<object>().Take(Math.Min(vector.Count, maxCount)))}{extension}]"; 408 return $"[{vector.ToVectorString(10, 80, "..", " ", " ", d => d.ToString("G6", null))}]"; 412 409 } 413 410
Note: See TracChangeset
for help on using the changeset viewer.