Browse Source

LA Provider: move to Providers namespace

pull/163/head
Christoph Ruegg 13 years ago
parent
commit
8111e739df
  1. 8
      src/Numerics/Control.cs
  2. 22
      src/Numerics/LinearAlgebra/Complex/DenseMatrix.cs
  3. 3
      src/Numerics/LinearAlgebra/Complex/Factorization/DenseGramSchmidt.cs
  4. 22
      src/Numerics/LinearAlgebra/Complex32/DenseMatrix.cs
  5. 3
      src/Numerics/LinearAlgebra/Complex32/Factorization/DenseGramSchmidt.cs
  6. 22
      src/Numerics/LinearAlgebra/Double/DenseMatrix.cs
  7. 3
      src/Numerics/LinearAlgebra/Double/Factorization/DenseGramSchmidt.cs
  8. 22
      src/Numerics/LinearAlgebra/Single/DenseMatrix.cs
  9. 3
      src/Numerics/LinearAlgebra/Single/Factorization/DenseGramSchmidt.cs
  10. 35
      src/Numerics/Numerics.csproj
  11. 4
      src/Numerics/Providers/LinearAlgebra/Acml/AcmlLinearAlgebraProvider.Complex.cs
  12. 4
      src/Numerics/Providers/LinearAlgebra/Acml/AcmlLinearAlgebraProvider.Complex32.cs
  13. 4
      src/Numerics/Providers/LinearAlgebra/Acml/AcmlLinearAlgebraProvider.double.cs
  14. 4
      src/Numerics/Providers/LinearAlgebra/Acml/AcmlLinearAlgebraProvider.float.cs
  15. 2
      src/Numerics/Providers/LinearAlgebra/Acml/SafeNativeMethods.cs
  16. 2
      src/Numerics/Providers/LinearAlgebra/GotoBlas/GotoBlasLinearAlgebraProvider.Common.cs
  17. 4
      src/Numerics/Providers/LinearAlgebra/GotoBlas/GotoBlasLinearAlgebraProvider.Complex.cs
  18. 4
      src/Numerics/Providers/LinearAlgebra/GotoBlas/GotoBlasLinearAlgebraProvider.Complex32.cs
  19. 4
      src/Numerics/Providers/LinearAlgebra/GotoBlas/GotoBlasLinearAlgebraProvider.double.cs
  20. 4
      src/Numerics/Providers/LinearAlgebra/GotoBlas/GotoBlasLinearAlgebraProvider.float.cs
  21. 2
      src/Numerics/Providers/LinearAlgebra/GotoBlas/SafeNativeMethods.cs
  22. 11
      src/Numerics/Providers/LinearAlgebra/ILinearAlgebraProvider.cs
  23. 10
      src/Numerics/Providers/LinearAlgebra/ILinearAlgebraProviderOfT.cs
  24. 19
      src/Numerics/Providers/LinearAlgebra/ManagedLinearAlgebraProvider.Complex.cs
  25. 16
      src/Numerics/Providers/LinearAlgebra/ManagedLinearAlgebraProvider.Complex32.cs
  26. 12
      src/Numerics/Providers/LinearAlgebra/ManagedLinearAlgebraProvider.Double.cs
  27. 12
      src/Numerics/Providers/LinearAlgebra/ManagedLinearAlgebraProvider.Single.cs
  28. 12
      src/Numerics/Providers/LinearAlgebra/Mkl/MklLinearAlgebraProvider.Common.cs
  29. 11
      src/Numerics/Providers/LinearAlgebra/Mkl/MklLinearAlgebraProvider.Complex.cs
  30. 13
      src/Numerics/Providers/LinearAlgebra/Mkl/MklLinearAlgebraProvider.Complex32.cs
  31. 15
      src/Numerics/Providers/LinearAlgebra/Mkl/MklLinearAlgebraProvider.double.cs
  32. 15
      src/Numerics/Providers/LinearAlgebra/Mkl/MklLinearAlgebraProvider.float.cs
  33. 2
      src/Numerics/Providers/LinearAlgebra/Mkl/SafeNativeMethods.cs
  34. 10
      src/UnitTests/LinearAlgebraProviderTests/Complex/LinearAlgebraProviderTests.cs
  35. 2
      src/UnitTests/LinearAlgebraProviderTests/Complex32/LinearAlgebraProviderTests.cs
  36. 2
      src/UnitTests/LinearAlgebraProviderTests/Double/LinearAlgebraProviderTests.cs
  37. 2
      src/UnitTests/LinearAlgebraProviderTests/Single/LinearAlgebraProviderTests.cs
  38. 3
      src/UnitTests/UseLinearAlgebraProvider.cs

8
src/Numerics/Control.cs

@ -28,11 +28,11 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using MathNet.Numerics.Providers.LinearAlgebra;
using System;
namespace MathNet.Numerics
{
using Algorithms.LinearAlgebra;
using System;
/// <summary>
/// Sets parameters for the library.
/// </summary>
@ -74,7 +74,7 @@ namespace MathNet.Numerics
switch (value != null ? value.ToUpperInvariant() : string.Empty)
{
case "MKL":
LinearAlgebraProvider = new Algorithms.LinearAlgebra.Mkl.MklLinearAlgebraProvider();
LinearAlgebraProvider = new Providers.LinearAlgebra.Mkl.MklLinearAlgebraProvider();
break;
default:
LinearAlgebraProvider = new ManagedLinearAlgebraProvider();

22
src/Numerics/LinearAlgebra/Complex/DenseMatrix.cs

@ -28,10 +28,10 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using MathNet.Numerics.Algorithms.LinearAlgebra;
using MathNet.Numerics.Distributions;
using MathNet.Numerics.LinearAlgebra.Storage;
using MathNet.Numerics.Properties;
using MathNet.Numerics.Providers.LinearAlgebra;
using MathNet.Numerics.Threading;
using System;
using System.Collections.Generic;
@ -389,8 +389,8 @@ namespace MathNet.Numerics.LinearAlgebra.Complex
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.DontTranspose,
1.0,
_values,
_rowCount,
@ -420,8 +420,8 @@ namespace MathNet.Numerics.LinearAlgebra.Complex
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.DontTranspose,
1.0,
_values,
_rowCount,
@ -451,8 +451,8 @@ namespace MathNet.Numerics.LinearAlgebra.Complex
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Algorithms.LinearAlgebra.Transpose.Transpose,
Providers.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.Transpose,
1.0,
_values,
_rowCount,
@ -482,8 +482,8 @@ namespace MathNet.Numerics.LinearAlgebra.Complex
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.Transpose,
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.Transpose,
Providers.LinearAlgebra.Transpose.DontTranspose,
1.0,
_values,
_rowCount,
@ -513,8 +513,8 @@ namespace MathNet.Numerics.LinearAlgebra.Complex
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.Transpose,
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.Transpose,
Providers.LinearAlgebra.Transpose.DontTranspose,
1.0,
_values,
_rowCount,

3
src/Numerics/LinearAlgebra/Complex/Factorization/DenseGramSchmidt.cs

@ -31,6 +31,7 @@
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.Properties;
using System;
using MathNet.Numerics.Providers.LinearAlgebra;
namespace MathNet.Numerics.LinearAlgebra.Complex.Factorization
{
@ -53,7 +54,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex.Factorization
/// <summary>
/// used for QR solve
/// </summary>
private readonly Algorithms.LinearAlgebra.ILinearAlgebraProvider _provider = new Algorithms.LinearAlgebra.ManagedLinearAlgebraProvider();
private readonly ILinearAlgebraProvider _provider = new ManagedLinearAlgebraProvider();
/// <summary>
/// Initializes a new instance of the <see cref="DenseGramSchmidt"/> class. This object creates an unitary matrix

22
src/Numerics/LinearAlgebra/Complex32/DenseMatrix.cs

@ -28,10 +28,10 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using MathNet.Numerics.Algorithms.LinearAlgebra;
using MathNet.Numerics.Distributions;
using MathNet.Numerics.LinearAlgebra.Storage;
using MathNet.Numerics.Properties;
using MathNet.Numerics.Providers.LinearAlgebra;
using MathNet.Numerics.Threading;
using System;
using System.Collections.Generic;
@ -384,8 +384,8 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.DontTranspose,
1.0f,
_values,
_rowCount,
@ -415,8 +415,8 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.DontTranspose,
1.0f,
_values,
_rowCount,
@ -446,8 +446,8 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Algorithms.LinearAlgebra.Transpose.Transpose,
Providers.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.Transpose,
1.0f,
_values,
_rowCount,
@ -477,8 +477,8 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.Transpose,
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.Transpose,
Providers.LinearAlgebra.Transpose.DontTranspose,
1.0f,
_values,
_rowCount,
@ -508,8 +508,8 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.Transpose,
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.Transpose,
Providers.LinearAlgebra.Transpose.DontTranspose,
1.0f,
_values,
_rowCount,

3
src/Numerics/LinearAlgebra/Complex32/Factorization/DenseGramSchmidt.cs

@ -31,6 +31,7 @@
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.Properties;
using System;
using MathNet.Numerics.Providers.LinearAlgebra;
namespace MathNet.Numerics.LinearAlgebra.Complex32.Factorization
{
@ -48,7 +49,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32.Factorization
/// <summary>
/// used for QR solve
/// </summary>
private readonly Algorithms.LinearAlgebra.ILinearAlgebraProvider _provider = new Algorithms.LinearAlgebra.ManagedLinearAlgebraProvider();
private readonly ILinearAlgebraProvider _provider = new ManagedLinearAlgebraProvider();
/// <summary>
/// Initializes a new instance of the <see cref="DenseGramSchmidt"/> class. This object creates an unitary matrix

22
src/Numerics/LinearAlgebra/Double/DenseMatrix.cs

@ -28,10 +28,10 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using MathNet.Numerics.Algorithms.LinearAlgebra;
using MathNet.Numerics.Distributions;
using MathNet.Numerics.LinearAlgebra.Storage;
using MathNet.Numerics.Properties;
using MathNet.Numerics.Providers.LinearAlgebra;
using MathNet.Numerics.Threading;
using System;
using System.Collections.Generic;
@ -470,8 +470,8 @@ namespace MathNet.Numerics.LinearAlgebra.Double
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.DontTranspose,
1.0,
_values,
_rowCount,
@ -501,8 +501,8 @@ namespace MathNet.Numerics.LinearAlgebra.Double
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.DontTranspose,
1.0,
_values,
_rowCount,
@ -532,8 +532,8 @@ namespace MathNet.Numerics.LinearAlgebra.Double
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Algorithms.LinearAlgebra.Transpose.Transpose,
Providers.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.Transpose,
1.0,
_values,
_rowCount,
@ -563,8 +563,8 @@ namespace MathNet.Numerics.LinearAlgebra.Double
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.Transpose,
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.Transpose,
Providers.LinearAlgebra.Transpose.DontTranspose,
1.0,
_values,
_rowCount,
@ -594,8 +594,8 @@ namespace MathNet.Numerics.LinearAlgebra.Double
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.Transpose,
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.Transpose,
Providers.LinearAlgebra.Transpose.DontTranspose,
1.0,
_values,
_rowCount,

3
src/Numerics/LinearAlgebra/Double/Factorization/DenseGramSchmidt.cs

@ -31,6 +31,7 @@
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.Properties;
using System;
using MathNet.Numerics.Providers.LinearAlgebra;
namespace MathNet.Numerics.LinearAlgebra.Double.Factorization
{
@ -46,7 +47,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double.Factorization
/// <summary>
/// used for QR solve
/// </summary>
private readonly Algorithms.LinearAlgebra.ILinearAlgebraProvider _provider = new Algorithms.LinearAlgebra.ManagedLinearAlgebraProvider();
private readonly ILinearAlgebraProvider _provider = new ManagedLinearAlgebraProvider();
/// <summary>
/// Initializes a new instance of the <see cref="DenseGramSchmidt"/> class. This object creates an orthogonal matrix

22
src/Numerics/LinearAlgebra/Single/DenseMatrix.cs

@ -28,10 +28,10 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using MathNet.Numerics.Algorithms.LinearAlgebra;
using MathNet.Numerics.Distributions;
using MathNet.Numerics.LinearAlgebra.Storage;
using MathNet.Numerics.Properties;
using MathNet.Numerics.Providers.LinearAlgebra;
using MathNet.Numerics.Threading;
using System;
using System.Collections.Generic;
@ -470,8 +470,8 @@ namespace MathNet.Numerics.LinearAlgebra.Single
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.DontTranspose,
1.0f,
_values,
_rowCount,
@ -501,8 +501,8 @@ namespace MathNet.Numerics.LinearAlgebra.Single
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.DontTranspose,
1.0f,
_values,
_rowCount,
@ -532,8 +532,8 @@ namespace MathNet.Numerics.LinearAlgebra.Single
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Algorithms.LinearAlgebra.Transpose.Transpose,
Providers.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.Transpose,
1.0f,
_values,
_rowCount,
@ -563,8 +563,8 @@ namespace MathNet.Numerics.LinearAlgebra.Single
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.Transpose,
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.Transpose,
Providers.LinearAlgebra.Transpose.DontTranspose,
1.0f,
_values,
_rowCount,
@ -594,8 +594,8 @@ namespace MathNet.Numerics.LinearAlgebra.Single
else
{
Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
Algorithms.LinearAlgebra.Transpose.Transpose,
Algorithms.LinearAlgebra.Transpose.DontTranspose,
Providers.LinearAlgebra.Transpose.Transpose,
Providers.LinearAlgebra.Transpose.DontTranspose,
1.0f,
_values,
_rowCount,

3
src/Numerics/LinearAlgebra/Single/Factorization/DenseGramSchmidt.cs

@ -31,6 +31,7 @@
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.Properties;
using System;
using MathNet.Numerics.Providers.LinearAlgebra;
namespace MathNet.Numerics.LinearAlgebra.Single.Factorization
{
@ -46,7 +47,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single.Factorization
/// <summary>
/// used for QR solve
/// </summary>
private readonly Algorithms.LinearAlgebra.ILinearAlgebraProvider _provider = new Algorithms.LinearAlgebra.ManagedLinearAlgebraProvider();
private readonly ILinearAlgebraProvider _provider = new ManagedLinearAlgebraProvider();
/// <summary>
/// Initializes a new instance of the <see cref="DenseGramSchmidt"/> class. This object creates an orthogonal matrix

35
src/Numerics/Numerics.csproj

@ -86,18 +86,29 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Algorithms\LinearAlgebra\ManagedLinearAlgebraProvider.Complex32.cs" />
<Compile Include="Algorithms\LinearAlgebra\ManagedLinearAlgebraProvider.Complex.cs" />
<Compile Include="Algorithms\LinearAlgebra\ManagedLinearAlgebraProvider.Single.cs" />
<Compile Include="Algorithms\LinearAlgebra\ILinearAlgebraProvider.cs" />
<Compile Include="Algorithms\LinearAlgebra\ILinearAlgebraProviderOfT.cs" />
<Compile Include="Algorithms\LinearAlgebra\ManagedLinearAlgebraProvider.Double.cs" />
<Compile Include="Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.Common.cs" />
<Compile Include="Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.Complex.cs" />
<Compile Include="Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.Complex32.cs" />
<Compile Include="Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.double.cs" />
<Compile Include="Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.float.cs" />
<Compile Include="Algorithms\LinearAlgebra\Mkl\SafeNativeMethods.cs" />
<Compile Include="Providers\LinearAlgebra\Acml\AcmlLinearAlgebraProvider.Complex.cs" />
<Compile Include="Providers\LinearAlgebra\Acml\AcmlLinearAlgebraProvider.Complex32.cs" />
<Compile Include="Providers\LinearAlgebra\Acml\AcmlLinearAlgebraProvider.double.cs" />
<Compile Include="Providers\LinearAlgebra\Acml\AcmlLinearAlgebraProvider.float.cs" />
<Compile Include="Providers\LinearAlgebra\Acml\SafeNativeMethods.cs" />
<Compile Include="Providers\LinearAlgebra\GotoBlas\GotoBlasLinearAlgebraProvider.Common.cs" />
<Compile Include="Providers\LinearAlgebra\GotoBlas\GotoBlasLinearAlgebraProvider.Complex.cs" />
<Compile Include="Providers\LinearAlgebra\GotoBlas\GotoBlasLinearAlgebraProvider.Complex32.cs" />
<Compile Include="Providers\LinearAlgebra\GotoBlas\GotoBlasLinearAlgebraProvider.double.cs" />
<Compile Include="Providers\LinearAlgebra\GotoBlas\GotoBlasLinearAlgebraProvider.float.cs" />
<Compile Include="Providers\LinearAlgebra\GotoBlas\SafeNativeMethods.cs" />
<Compile Include="Providers\LinearAlgebra\ManagedLinearAlgebraProvider.Complex32.cs" />
<Compile Include="Providers\LinearAlgebra\ManagedLinearAlgebraProvider.Complex.cs" />
<Compile Include="Providers\LinearAlgebra\ManagedLinearAlgebraProvider.Single.cs" />
<Compile Include="Providers\LinearAlgebra\ILinearAlgebraProvider.cs" />
<Compile Include="Providers\LinearAlgebra\ILinearAlgebraProviderOfT.cs" />
<Compile Include="Providers\LinearAlgebra\ManagedLinearAlgebraProvider.Double.cs" />
<Compile Include="Providers\LinearAlgebra\Mkl\MklLinearAlgebraProvider.Common.cs" />
<Compile Include="Providers\LinearAlgebra\Mkl\MklLinearAlgebraProvider.Complex.cs" />
<Compile Include="Providers\LinearAlgebra\Mkl\MklLinearAlgebraProvider.Complex32.cs" />
<Compile Include="Providers\LinearAlgebra\Mkl\MklLinearAlgebraProvider.double.cs" />
<Compile Include="Providers\LinearAlgebra\Mkl\MklLinearAlgebraProvider.float.cs" />
<Compile Include="Providers\LinearAlgebra\Mkl\SafeNativeMethods.cs" />
<Compile Include="ArrayExtensions.cs" />
<Compile Include="Complex64.cs" />
<Compile Include="Combinatorics.cs" />

4
src/Numerics/Algorithms/LinearAlgebra/Acml/AcmlLinearAlgebraProvider.Complex.cs → src/Numerics/Providers/LinearAlgebra/Acml/AcmlLinearAlgebraProvider.Complex.cs

@ -26,9 +26,9 @@
#if NATIVEACML
using MathNet.Numerics.LinearAlgebra.Generic.Factorization;
using MathNet.Numerics.LinearAlgebra.Factorization;
namespace MathNet.Numerics.Algorithms.LinearAlgebra.Acml
namespace MathNet.Numerics.Providers.LinearAlgebra.Acml
{
using System;
using System.Numerics;

4
src/Numerics/Algorithms/LinearAlgebra/Acml/AcmlLinearAlgebraProvider.Complex32.cs → src/Numerics/Providers/LinearAlgebra/Acml/AcmlLinearAlgebraProvider.Complex32.cs

@ -30,9 +30,9 @@
#if NATIVEACML
using MathNet.Numerics.LinearAlgebra.Generic.Factorization;
using MathNet.Numerics.LinearAlgebra.Factorization;
namespace MathNet.Numerics.Algorithms.LinearAlgebra.Acml
namespace MathNet.Numerics.Providers.LinearAlgebra.Acml
{
using System;
using System.Security;

4
src/Numerics/Algorithms/LinearAlgebra/Acml/AcmlLinearAlgebraProvider.double.cs → src/Numerics/Providers/LinearAlgebra/Acml/AcmlLinearAlgebraProvider.double.cs

@ -30,9 +30,9 @@
#if NATIVEACML
using MathNet.Numerics.LinearAlgebra.Generic.Factorization;
using MathNet.Numerics.LinearAlgebra.Factorization;
namespace MathNet.Numerics.Algorithms.LinearAlgebra.Acml
namespace MathNet.Numerics.Providers.LinearAlgebra.Acml
{
using System;
using System.Security;

4
src/Numerics/Algorithms/LinearAlgebra/Acml/AcmlLinearAlgebraProvider.float.cs → src/Numerics/Providers/LinearAlgebra/Acml/AcmlLinearAlgebraProvider.float.cs

@ -30,9 +30,9 @@
#if NATIVEACML
using MathNet.Numerics.LinearAlgebra.Generic.Factorization;
using MathNet.Numerics.LinearAlgebra.Factorization;
namespace MathNet.Numerics.Algorithms.LinearAlgebra.Acml
namespace MathNet.Numerics.Providers.LinearAlgebra.Acml
{
using System;
using System.Security;

2
src/Numerics/Algorithms/LinearAlgebra/Acml/SafeNativeMethods.cs → src/Numerics/Providers/LinearAlgebra/Acml/SafeNativeMethods.cs

@ -32,7 +32,7 @@ using System.Numerics;
using System.Runtime.InteropServices;
using System.Security;
namespace MathNet.Numerics.Algorithms.LinearAlgebra.Acml
namespace MathNet.Numerics.Providers.LinearAlgebra.Acml
{
/// <summary>
/// P/Invoke methods to the native math libraries.

2
src/Numerics/Algorithms/LinearAlgebra/GotoBlas/GotoBlasLinearAlgebraProvider.Common.cs → src/Numerics/Providers/LinearAlgebra/GotoBlas/GotoBlasLinearAlgebraProvider.Common.cs

@ -30,7 +30,7 @@
#if NATIVEGOTO
namespace MathNet.Numerics.Algorithms.LinearAlgebra.GotoBlas
namespace MathNet.Numerics.Providers.LinearAlgebra.GotoBlas
{
using System;
using System.Numerics;

4
src/Numerics/Algorithms/LinearAlgebra/GotoBlas/GotoBlasLinearAlgebraProvider.Complex.cs → src/Numerics/Providers/LinearAlgebra/GotoBlas/GotoBlasLinearAlgebraProvider.Complex.cs

@ -30,9 +30,9 @@
#if NATIVEGOTO
using MathNet.Numerics.LinearAlgebra.Generic.Factorization;
using MathNet.Numerics.LinearAlgebra.Factorization;
namespace MathNet.Numerics.Algorithms.LinearAlgebra.GotoBlas
namespace MathNet.Numerics.Providers.LinearAlgebra.GotoBlas
{
using System;
using System.Numerics;

4
src/Numerics/Algorithms/LinearAlgebra/GotoBlas/GotoBlasLinearAlgebraProvider.Complex32.cs → src/Numerics/Providers/LinearAlgebra/GotoBlas/GotoBlasLinearAlgebraProvider.Complex32.cs

@ -30,9 +30,9 @@
#if NATIVEGOTO
using MathNet.Numerics.LinearAlgebra.Generic.Factorization;
using MathNet.Numerics.LinearAlgebra.Factorization;
namespace MathNet.Numerics.Algorithms.LinearAlgebra.GotoBlas
namespace MathNet.Numerics.Providers.LinearAlgebra.GotoBlas
{
using System;
using System.Security;

4
src/Numerics/Algorithms/LinearAlgebra/GotoBlas/GotoBlasLinearAlgebraProvider.double.cs → src/Numerics/Providers/LinearAlgebra/GotoBlas/GotoBlasLinearAlgebraProvider.double.cs

@ -30,9 +30,9 @@
#if NATIVEGOTO
using MathNet.Numerics.LinearAlgebra.Generic.Factorization;
using MathNet.Numerics.LinearAlgebra.Factorization;
namespace MathNet.Numerics.Algorithms.LinearAlgebra.GotoBlas
namespace MathNet.Numerics.Providers.LinearAlgebra.GotoBlas
{
using System;
using System.Security;

4
src/Numerics/Algorithms/LinearAlgebra/GotoBlas/GotoBlasLinearAlgebraProvider.float.cs → src/Numerics/Providers/LinearAlgebra/GotoBlas/GotoBlasLinearAlgebraProvider.float.cs

@ -30,9 +30,9 @@
#if NATIVEGOTO
using MathNet.Numerics.LinearAlgebra.Generic.Factorization;
using MathNet.Numerics.LinearAlgebra.Factorization;
namespace MathNet.Numerics.Algorithms.LinearAlgebra.GotoBlas
namespace MathNet.Numerics.Providers.LinearAlgebra.GotoBlas
{
using System;
using System.Security;

2
src/Numerics/Algorithms/LinearAlgebra/GotoBlas/SafeNativeMethods.cs → src/Numerics/Providers/LinearAlgebra/GotoBlas/SafeNativeMethods.cs

@ -32,7 +32,7 @@ using System.Numerics;
using System.Runtime.InteropServices;
using System.Security;
namespace MathNet.Numerics.Algorithms.LinearAlgebra.GotoBlas
namespace MathNet.Numerics.Providers.LinearAlgebra.GotoBlas
{
/// <summary>
/// P/Invoke methods to the native math libraries.

11
src/Numerics/Algorithms/LinearAlgebra/ILinearAlgebraProvider.cs → src/Numerics/Providers/LinearAlgebra/ILinearAlgebraProvider.cs

@ -3,9 +3,9 @@
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
//
// Copyright (c) 2009-2013 Math.NET
//
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
@ -14,10 +14,10 @@
// copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following
// conditions:
//
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@ -28,8 +28,7 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
// INITIAL DRAFT MISSING EXCEPTION SPECIFICATIONS
namespace MathNet.Numerics.Algorithms.LinearAlgebra
namespace MathNet.Numerics.Providers.LinearAlgebra
{
#if !NOSYSNUMERICS

10
src/Numerics/Algorithms/LinearAlgebra/ILinearAlgebraProviderOfT.cs → src/Numerics/Providers/LinearAlgebra/ILinearAlgebraProviderOfT.cs

@ -3,7 +3,9 @@
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
// Copyright (c) 2009-2011 Math.NET
//
// Copyright (c) 2009-2013 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
@ -12,8 +14,10 @@
// copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following
// conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@ -24,11 +28,9 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
// INITIAL DRAFT MISSING EXCEPTION SPECIFICATIONS
using MathNet.Numerics.LinearAlgebra.Factorization;
namespace MathNet.Numerics.Algorithms.LinearAlgebra
namespace MathNet.Numerics.Providers.LinearAlgebra
{
#if !NOSYSNUMERICS

19
src/Numerics/Algorithms/LinearAlgebra/ManagedLinearAlgebraProvider.Complex.cs → src/Numerics/Providers/LinearAlgebra/ManagedLinearAlgebraProvider.Complex.cs

@ -3,7 +3,9 @@
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009-2013 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
@ -12,8 +14,10 @@
// copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following
// conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@ -24,17 +28,16 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using MathNet.Numerics.LinearAlgebra.Complex.Factorization;
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.Properties;
using MathNet.Numerics.Threading;
using System;
namespace MathNet.Numerics.Algorithms.LinearAlgebra
namespace MathNet.Numerics.Providers.LinearAlgebra
{
using System;
using Properties;
using Threading;
using Numerics.LinearAlgebra.Complex.Factorization;
#if NOSYSNUMERICS
using Complex = Numerics.Complex;
#else
#if !NOSYSNUMERICS
using Complex = System.Numerics.Complex;
#endif

16
src/Numerics/Algorithms/LinearAlgebra/ManagedLinearAlgebraProvider.Complex32.cs → src/Numerics/Providers/LinearAlgebra/ManagedLinearAlgebraProvider.Complex32.cs

@ -3,7 +3,9 @@
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009-2013 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
@ -12,8 +14,10 @@
// copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following
// conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@ -24,15 +28,15 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using MathNet.Numerics.LinearAlgebra.Complex32;
using MathNet.Numerics.LinearAlgebra.Complex32.Factorization;
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.Properties;
using MathNet.Numerics.Threading;
using System;
namespace MathNet.Numerics.Algorithms.LinearAlgebra
namespace MathNet.Numerics.Providers.LinearAlgebra
{
using System;
using Properties;
using Threading;
using Numerics.LinearAlgebra.Complex32.Factorization;
using Numerics.LinearAlgebra.Complex32;
#if !NOSYSNUMERICS
using Complex = System.Numerics.Complex;

12
src/Numerics/Algorithms/LinearAlgebra/ManagedLinearAlgebraProvider.Double.cs → src/Numerics/Providers/LinearAlgebra/ManagedLinearAlgebraProvider.Double.cs

@ -3,7 +3,9 @@
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009-2013 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
@ -12,8 +14,10 @@
// copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following
// conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@ -25,12 +29,12 @@
// </copyright>
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.Properties;
using MathNet.Numerics.Threading;
using System;
namespace MathNet.Numerics.Algorithms.LinearAlgebra
namespace MathNet.Numerics.Providers.LinearAlgebra
{
using System;
using Properties;
using Threading;
#if !NOSYSNUMERICS
using Complex = System.Numerics.Complex;

12
src/Numerics/Algorithms/LinearAlgebra/ManagedLinearAlgebraProvider.Single.cs → src/Numerics/Providers/LinearAlgebra/ManagedLinearAlgebraProvider.Single.cs

@ -3,7 +3,9 @@
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009-2013 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
@ -12,8 +14,10 @@
// copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following
// conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@ -25,12 +29,12 @@
// </copyright>
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.Properties;
using MathNet.Numerics.Threading;
using System;
namespace MathNet.Numerics.Algorithms.LinearAlgebra
namespace MathNet.Numerics.Providers.LinearAlgebra
{
using System;
using Properties;
using Threading;
#if !NOSYSNUMERICS
using Complex = System.Numerics.Complex;

12
src/Numerics/Algorithms/LinearAlgebra/Mkl/MklLinearAlgebraProvider.Common.cs → src/Numerics/Providers/LinearAlgebra/Mkl/MklLinearAlgebraProvider.Common.cs

@ -30,13 +30,13 @@
#if NATIVEMKL
namespace MathNet.Numerics.Algorithms.LinearAlgebra.Mkl
using MathNet.Numerics.Properties;
using System;
using System.Numerics;
using System.Security;
namespace MathNet.Numerics.Providers.LinearAlgebra.Mkl
{
using System;
using System.Numerics;
using System.Security;
using Properties;
/// <summary>
/// Intel's Math Kernel Library (MKL) linear algebra provider.
/// </summary>

11
src/Numerics/Algorithms/LinearAlgebra/Mkl/MklLinearAlgebraProvider.Complex.cs → src/Numerics/Providers/LinearAlgebra/Mkl/MklLinearAlgebraProvider.Complex.cs

@ -31,14 +31,13 @@
#if NATIVEMKL
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.Properties;
using System;
using System.Numerics;
using System.Security;
namespace MathNet.Numerics.Algorithms.LinearAlgebra.Mkl
namespace MathNet.Numerics.Providers.LinearAlgebra.Mkl
{
using System;
using System.Numerics;
using System.Security;
using Properties;
/// <summary>
/// Intel's Math Kernel Library (MKL) linear algebra provider.
/// </summary>

13
src/Numerics/Algorithms/LinearAlgebra/Mkl/MklLinearAlgebraProvider.Complex32.cs → src/Numerics/Providers/LinearAlgebra/Mkl/MklLinearAlgebraProvider.Complex32.cs

@ -28,16 +28,15 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using MathNet.Numerics.LinearAlgebra.Factorization;
#if NATIVEMKL
namespace MathNet.Numerics.Algorithms.LinearAlgebra.Mkl
{
using System;
using System.Security;
using Properties;
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.Properties;
using System;
using System.Security;
namespace MathNet.Numerics.Providers.LinearAlgebra.Mkl
{
/// <summary>
/// Intel's Math Kernel Library (MKL) linear algebra provider.
/// </summary>

15
src/Numerics/Algorithms/LinearAlgebra/Mkl/MklLinearAlgebraProvider.double.cs → src/Numerics/Providers/LinearAlgebra/Mkl/MklLinearAlgebraProvider.double.cs

@ -28,17 +28,16 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using MathNet.Numerics.LinearAlgebra.Factorization;
#if NATIVEMKL
namespace MathNet.Numerics.Algorithms.LinearAlgebra.Mkl
{
using System;
using System.Numerics;
using System.Security;
using Properties;
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.Properties;
using System;
using System.Numerics;
using System.Security;
namespace MathNet.Numerics.Providers.LinearAlgebra.Mkl
{
/// <summary>
/// Intel's Math Kernel Library (MKL) linear algebra provider.
/// </summary>

15
src/Numerics/Algorithms/LinearAlgebra/Mkl/MklLinearAlgebraProvider.float.cs → src/Numerics/Providers/LinearAlgebra/Mkl/MklLinearAlgebraProvider.float.cs

@ -28,17 +28,16 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using MathNet.Numerics.LinearAlgebra.Factorization;
#if NATIVEMKL
namespace MathNet.Numerics.Algorithms.LinearAlgebra.Mkl
{
using System;
using System.Numerics;
using System.Security;
using Properties;
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.Properties;
using System;
using System.Numerics;
using System.Security;
namespace MathNet.Numerics.Providers.LinearAlgebra.Mkl
{
/// <summary>
/// Intel's Math Kernel Library (MKL) linear algebra provider.
/// </summary>

2
src/Numerics/Algorithms/LinearAlgebra/Mkl/SafeNativeMethods.cs → src/Numerics/Providers/LinearAlgebra/Mkl/SafeNativeMethods.cs

@ -32,7 +32,7 @@ using System.Numerics;
using System.Runtime.InteropServices;
using System.Security;
namespace MathNet.Numerics.Algorithms.LinearAlgebra.Mkl
namespace MathNet.Numerics.Providers.LinearAlgebra.Mkl
{
/// <summary>
/// P/Invoke methods to the native math libraries.

10
src/UnitTests/LinearAlgebraProviderTests/Complex/LinearAlgebraProviderTests.cs

@ -3,9 +3,9 @@
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
//
// Copyright (c) 2009-2013 Math.NET
//
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
@ -14,10 +14,10 @@
// copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following
// conditions:
//
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@ -28,11 +28,11 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using MathNet.Numerics.Algorithms.LinearAlgebra;
using MathNet.Numerics.Distributions;
using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.LinearAlgebra.Complex;
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.Providers.LinearAlgebra;
using NUnit.Framework;
using System;
using System.Collections.Generic;

2
src/UnitTests/LinearAlgebraProviderTests/Complex32/LinearAlgebraProviderTests.cs

@ -28,11 +28,11 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using MathNet.Numerics.Algorithms.LinearAlgebra;
using MathNet.Numerics.Distributions;
using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.LinearAlgebra.Complex32;
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.Providers.LinearAlgebra;
using NUnit.Framework;
using System;
using System.Collections.Generic;

2
src/UnitTests/LinearAlgebraProviderTests/Double/LinearAlgebraProviderTests.cs

@ -28,11 +28,11 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using MathNet.Numerics.Algorithms.LinearAlgebra;
using MathNet.Numerics.Distributions;
using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.LinearAlgebra.Double;
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.Providers.LinearAlgebra;
using NUnit.Framework;
using System;
using System.Collections.Generic;

2
src/UnitTests/LinearAlgebraProviderTests/Single/LinearAlgebraProviderTests.cs

@ -28,11 +28,11 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using MathNet.Numerics.Algorithms.LinearAlgebra;
using MathNet.Numerics.Distributions;
using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.LinearAlgebra.Single;
using MathNet.Numerics.Providers.LinearAlgebra;
using NUnit.Framework;
using System;
using System.Collections.Generic;

3
src/UnitTests/UseLinearAlgebraProvider.cs

@ -39,10 +39,9 @@ namespace MathNet.Numerics.UnitTests
public void BeforeTest(TestDetails testDetails)
{
var provider = Properties.Settings.Default.LinearAlgebraProvider.ToLowerInvariant();
if (provider.Contains("mkl"))
{
Control.LinearAlgebraProvider = new Algorithms.LinearAlgebra.Mkl.MklLinearAlgebraProvider();
Control.LinearAlgebraProvider = new Providers.LinearAlgebra.Mkl.MklLinearAlgebraProvider();
}
}

Loading…
Cancel
Save