Free cookie consent management tool by TermsFeed Policy Generator

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

#3117: update alglib to version 3.17

Location:
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/HeuristicLab.Problems.Instances.DataAnalysis-3.3.csproj

    r17684 r17931  
    2424    <WarningLevel>4</WarningLevel>
    2525    <Prefer32Bit>false</Prefer32Bit>
    26     <LangVersion>5</LangVersion>
     26    <LangVersion>7.0</LangVersion>
    2727  </PropertyGroup>
    2828  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     
    3434    <WarningLevel>4</WarningLevel>
    3535    <Prefer32Bit>false</Prefer32Bit>
    36     <LangVersion>5</LangVersion>
     36    <LangVersion>7.0</LangVersion>
    3737  </PropertyGroup>
    3838  <PropertyGroup>
     
    5656    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    5757    <Prefer32Bit>false</Prefer32Bit>
    58     <LangVersion>5</LangVersion>
     58    <LangVersion>7.0</LangVersion>
    5959  </PropertyGroup>
    6060  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
     
    7474    <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
    7575    <Prefer32Bit>false</Prefer32Bit>
    76     <LangVersion>5</LangVersion>
     76    <LangVersion>7.0</LangVersion>
    7777  </PropertyGroup>
    7878  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
     
    9090    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    9191    <Prefer32Bit>false</Prefer32Bit>
    92     <LangVersion>5</LangVersion>
     92    <LangVersion>7.0</LangVersion>
    9393  </PropertyGroup>
    9494  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
     
    108108    <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
    109109    <Prefer32Bit>false</Prefer32Bit>
    110     <LangVersion>5</LangVersion>
     110    <LangVersion>7.0</LangVersion>
    111111  </PropertyGroup>
    112112  <ItemGroup>
    113     <Reference Include="ALGLIB-3.7.0, Version=3.7.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
     113    <Reference Include="ALGLIB-3.17.0, Version=3.17.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    114114      <SpecificVersion>False</SpecificVersion>
    115       <HintPath>..\..\bin\ALGLIB-3.7.0.dll</HintPath>
     115      <HintPath>..\..\bin\ALGLIB-3.17.0.dll</HintPath>
     116      <Private>False</Private>
    116117    </Reference>
    117118    <Reference Include="System" />
  • trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Plugin.cs.frame

    r17184 r17931  
    2525  [Plugin("HeuristicLab.Problems.Instances.DataAnalysis", "3.3.16.$WCREV$")]
    2626  [PluginFile("HeuristicLab.Problems.Instances.DataAnalysis-3.3.dll", PluginFileType.Assembly)]
    27   [PluginDependency("HeuristicLab.ALGLIB", "3.7")]
     27  [PluginDependency("HeuristicLab.ALGLIB", "3.17")]
    2828  [PluginDependency("HeuristicLab.Common", "3.3")]
    2929  [PluginDependency("HeuristicLab.Collections", "3.3")]
  • 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
  • trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/VariableNetworks/GaussianProcessVariableNetwork.cs

    r17180 r17931  
    6868
    6969      // decompose
    70       alglib.trfac.spdmatrixcholesky(ref K, nRows, false);
     70      alglib.spdmatrixcholesky(ref K, nRows, false);
    7171
    7272
    7373      // calc y = Lu
    7474      var y = new double[u.Length];
    75       alglib.ablas.rmatrixmv(nRows, nRows, K, 0, 0, 0, u, 0, ref y, 0);
     75      alglib.rmatrixmv(nRows, nRows, K, 0, 0, 0, u, 0, ref y, 0);
    7676
    7777      // calculate relevance by removing dimensions
     
    9696
    9797        var yChanged = new double[u.Length];
    98         alglib.ablas.rmatrixmv(nRows, nRows, changedK, 0, 0, 0, u, 0, ref yChanged, 0);
     98        alglib.rmatrixmv(nRows, nRows, changedK, 0, 0, 0, u, 0, ref yChanged, 0);
    9999
    100100        OnlineCalculatorError error;
Note: See TracChangeset for help on using the changeset viewer.