Browse Source

Updated native code generation to work with updated provider interface.

la-knuth
Jurgen Van Gael 17 years ago
parent
commit
87b7bc0af2
  1. 10
      src/Numerics/Algorithms/LinearAlgebra/Atlas/AtlasLinearAlgebraProvider.cs
  2. 4
      src/Numerics/Algorithms/LinearAlgebra/ManagedLinearAlgebraProvider.cs
  3. 10
      src/Numerics/Algorithms/LinearAlgebra/Mkl/MklLinearAlgebraProvider.cs
  4. 8
      src/Numerics/Algorithms/LinearAlgebra/NativeAlgebraProvider.include

10
src/Numerics/Algorithms/LinearAlgebra/Atlas/AtlasLinearAlgebraProvider.cs

@ -24,7 +24,7 @@
/* This file is automatically generated - do not modify it. /* This file is automatically generated - do not modify it.
Change NativeLinearAlgebraProvider.include instead. Change NativeLinearAlgebraProvider.include instead.
Last generated on: 11/4/2009 2:23:32 PM Last generated on: 13/11/2009 08:19:56
*/ */
namespace MathNet.Numerics.Algorithms.LinearAlgebra.Atlas namespace MathNet.Numerics.Algorithms.LinearAlgebra.Atlas
{ {
@ -116,7 +116,7 @@ namespace MathNet.Numerics.Algorithms.LinearAlgebra.Atlas
throw new NotImplementedException(); throw new NotImplementedException();
} }
public void MatrixMultiply(double[] x, double[] y, double[] result) public void MatrixMultiply(double[] x, int xRows, int xColumns, double[] y, int yRows, int yColumns, double[] result)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
@ -301,7 +301,7 @@ namespace MathNet.Numerics.Algorithms.LinearAlgebra.Atlas
throw new NotImplementedException(); throw new NotImplementedException();
} }
public void MatrixMultiply(float[] x, float[] y, float[] result) public void MatrixMultiply(float[] x, int xRows, int xColumns, float[] y, int yRows, int yColumns, float[] result)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
@ -486,7 +486,7 @@ namespace MathNet.Numerics.Algorithms.LinearAlgebra.Atlas
throw new NotImplementedException(); throw new NotImplementedException();
} }
public void MatrixMultiply(Complex[] x, Complex[] y, Complex[] result) public void MatrixMultiply(Complex[] x, int xRows, int xColumns, Complex[] y, int yRows, int yColumns, Complex[] result)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
@ -670,7 +670,7 @@ namespace MathNet.Numerics.Algorithms.LinearAlgebra.Atlas
throw new NotImplementedException(); throw new NotImplementedException();
} }
public void MatrixMultiply(Complex32[] x, Complex32[] y, Complex32[] result) public void MatrixMultiply(Complex32[] x, int xRows, int xColumns, Complex32[] y, int yRows, int yColumns, Complex32[] result)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }

4
src/Numerics/Algorithms/LinearAlgebra/ManagedLinearAlgebraProvider.cs

@ -1136,7 +1136,7 @@ namespace MathNet.Numerics.Algorithms.LinearAlgebra
// Check whether we will be overwriting any of our inputs and make copies if necessary. // Check whether we will be overwriting any of our inputs and make copies if necessary.
// TODO - we can don't have to allocate a completely new matrix when x or y point to the same memory // TODO - we can don't have to allocate a completely new matrix when x or y point to the same memory
// as result, we can do it on a row wise basis. We should investigate this. // as result, we can do it on a row wise basis. We should investigate this.
double[] xdata; Complex[] xdata;
if (ReferenceEquals(x, result)) if (ReferenceEquals(x, result))
{ {
xdata = (Complex[]) x.Clone(); xdata = (Complex[]) x.Clone();
@ -1146,7 +1146,7 @@ namespace MathNet.Numerics.Algorithms.LinearAlgebra
xdata = x; xdata = x;
} }
double[] ydata; Complex[] ydata;
if (ReferenceEquals(y, result)) if (ReferenceEquals(y, result))
{ {
ydata = (Complex[]) y.Clone(); ydata = (Complex[]) y.Clone();

10
src/Numerics/Algorithms/LinearAlgebra/Mkl/MklLinearAlgebraProvider.cs

@ -24,7 +24,7 @@
/* This file is automatically generated - do not modify it. /* This file is automatically generated - do not modify it.
Change NativeLinearAlgebraProvider.include instead. Change NativeLinearAlgebraProvider.include instead.
Last generated on: 11/4/2009 2:23:28 PM Last generated on: 13/11/2009 08:19:48
*/ */
namespace MathNet.Numerics.Algorithms.LinearAlgebra.Mkl namespace MathNet.Numerics.Algorithms.LinearAlgebra.Mkl
{ {
@ -116,7 +116,7 @@ namespace MathNet.Numerics.Algorithms.LinearAlgebra.Mkl
throw new NotImplementedException(); throw new NotImplementedException();
} }
public void MatrixMultiply(double[] x, double[] y, double[] result) public void MatrixMultiply(double[] x, int xRows, int xColumns, double[] y, int yRows, int yColumns, double[] result)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
@ -301,7 +301,7 @@ namespace MathNet.Numerics.Algorithms.LinearAlgebra.Mkl
throw new NotImplementedException(); throw new NotImplementedException();
} }
public void MatrixMultiply(float[] x, float[] y, float[] result) public void MatrixMultiply(float[] x, int xRows, int xColumns, float[] y, int yRows, int yColumns, float[] result)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
@ -486,7 +486,7 @@ namespace MathNet.Numerics.Algorithms.LinearAlgebra.Mkl
throw new NotImplementedException(); throw new NotImplementedException();
} }
public void MatrixMultiply(Complex[] x, Complex[] y, Complex[] result) public void MatrixMultiply(Complex[] x, int xRows, int xColumns, Complex[] y, int yRows, int yColumns, Complex[] result)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
@ -670,7 +670,7 @@ namespace MathNet.Numerics.Algorithms.LinearAlgebra.Mkl
throw new NotImplementedException(); throw new NotImplementedException();
} }
public void MatrixMultiply(Complex32[] x, Complex32[] y, Complex32[] result) public void MatrixMultiply(Complex32[] x, int xRows, int xColumns, Complex32[] y, int yRows, int yColumns, Complex32[] result)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }

8
src/Numerics/Algorithms/LinearAlgebra/NativeAlgebraProvider.include

@ -116,7 +116,7 @@ namespace MathNet.Numerics.Algorithms.LinearAlgebra.<#=library#>
throw new NotImplementedException(); throw new NotImplementedException();
} }
public void MatrixMultiply(double[] x, double[] y, double[] result) public void MatrixMultiply(double[] x, int xRows, int xColumns, double[] y, int yRows, int yColumns, double[] result)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
@ -301,7 +301,7 @@ namespace MathNet.Numerics.Algorithms.LinearAlgebra.<#=library#>
throw new NotImplementedException(); throw new NotImplementedException();
} }
public void MatrixMultiply(float[] x, float[] y, float[] result) public void MatrixMultiply(float[] x, int xRows, int xColumns, float[] y, int yRows, int yColumns, float[] result)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
@ -486,7 +486,7 @@ namespace MathNet.Numerics.Algorithms.LinearAlgebra.<#=library#>
throw new NotImplementedException(); throw new NotImplementedException();
} }
public void MatrixMultiply(Complex[] x, Complex[] y, Complex[] result) public void MatrixMultiply(Complex[] x, int xRows, int xColumns, Complex[] y, int yRows, int yColumns, Complex[] result)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
@ -670,7 +670,7 @@ namespace MathNet.Numerics.Algorithms.LinearAlgebra.<#=library#>
throw new NotImplementedException(); throw new NotImplementedException();
} }
public void MatrixMultiply(Complex32[] x, Complex32[] y, Complex32[] result) public void MatrixMultiply(Complex32[] x, int xRows, int xColumns, Complex32[] y, int yRows, int yColumns, Complex32[] result)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }

Loading…
Cancel
Save