Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/25/20 07:41:01 (5 years ago)
Author:
pfleck
Message:

#3040 Replaced own Vector with MathNet.Numerics Vector.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3040_VectorBasedGP/HeuristicLab.Problems.Instances.DataAnalysis/3.3/TableFileParser.cs

    r17414 r17448  
    3030using HeuristicLab.Problems.DataAnalysis;
    3131
     32using DoubleVector = MathNet.Numerics.LinearAlgebra.Vector<double>;
     33
    3234namespace HeuristicLab.Problems.Instances.DataAnalysis {
    3335  public class TableFileParser : Progress<long> { // reports the number of bytes read
     
    272274            var vectorList = new List<DoubleVector>(stringList.Count);
    273275            for (int j = 0; j < doubles.Length; j++) {
    274               vectorList.Add(new DoubleVector(doubles[j]));
     276              vectorList.Add(DoubleVector.Build.Dense(doubles[j]));
    275277            }
    276278
Note: See TracChangeset for help on using the changeset viewer.