Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/01/20 09:19:42 (4 years ago)
Author:
pfleck
Message:

#3040 Worked in DiffSharp for constant-opt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis/3.4/Dataset.cs

    r17449 r17786  
    406406      var value = variableValues[variableNames[columnIndex]][rowIndex];
    407407      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))}]";
    412409      }
    413410
Note: See TracChangeset for help on using the changeset viewer.