Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/09/21 19:41:33 (3 years ago)
Author:
gkronber
Message:

#3117: update alglib to version 3.17

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Friedman/FriedmanRandomFunction.cs

    r17180 r17931  
    121121      // mu is generated from same distribution as x
    122122      double[] mu = Enumerable.Range(0, nl).Select(_ => random.NextDouble() * 2 - 1).ToArray();
    123       double[,] v = new double[nl, nl];
    124123      var condNum = 4.0 / 0.01; // as given in the paper for max and min eigen values
    125124
     
    128127      alglib.math.rndobject = new System.Random(random.Next());
    129128
    130       alglib.matgen.spdmatrixrndcond(nl, condNum, ref v);
     129      alglib.spdmatrixrndcond(nl, condNum, out var v);
    131130      // restore
    132131      alglib.math.rndobject = curRand;
     
    137136      for (int i = 0; i < nRows; i++) {
    138137        for (int j = 0; j < nl; j++) z[j] = xs[j][i] - mu[j];
    139         alglib.ablas.rmatrixmv(nl, nl, v, 0, 0, 0, z, 0, ref y, 0);
     138        alglib.rmatrixmv(nl, nl, v, 0, 0, 0, z, 0, ref y, 0);
    140139
    141140        // dot prod
Note: See TracChangeset for help on using the changeset viewer.