Changeset 3458 for trunk/sources/HeuristicLab.Problems.DataAnalysis
- Timestamp:
- 04/21/10 12:42:54 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Dataset.cs
r3442 r3458 36 36 public sealed class Dataset : NamedItem, IStringConvertibleMatrix { 37 37 public Dataset() 38 : this(new string[1] { "y" }, new double[,] { { 0.0 } }) { 38 : base() { 39 this.Name = string.Empty; 40 this.data = new double[0, 0]; 41 this.variableNames = new string[0]; 42 this.SortableView = false; 39 43 } 40 44 41 45 public Dataset(IEnumerable<string> variableNames, double[,] data) 42 : base() {46 : this() { 43 47 Name = "-"; 44 48 if (variableNames.Count() != data.GetLength(1)) { … … 47 51 this.data = data; 48 52 this.variableNames = variableNames.ToArray(); 49 this.SortableView = false;50 53 } 51 54
Note: See TracChangeset
for help on using the changeset viewer.