diff --git a/src/Numerics/LinearAlgebra/Complex/SparseMatrix.cs b/src/Numerics/LinearAlgebra/Complex/SparseMatrix.cs index 2a5b605c..1a99d6ca 100644 --- a/src/Numerics/LinearAlgebra/Complex/SparseMatrix.cs +++ b/src/Numerics/LinearAlgebra/Complex/SparseMatrix.cs @@ -131,7 +131,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex /// A new memory block will be allocated for storing the matrix. /// /// - public static SparseMatrix OfColumnMajor(int rows, int columns, Complex[] columnMajor) + public static SparseMatrix OfColumnMajor(int rows, int columns, IList columnMajor) { return new SparseMatrix(SparseCompressedRowMatrixStorage.OfColumnMajorList(rows, columns, columnMajor)); } diff --git a/src/Numerics/LinearAlgebra/Complex32/SparseMatrix.cs b/src/Numerics/LinearAlgebra/Complex32/SparseMatrix.cs index 15faf7e3..e74277c3 100644 --- a/src/Numerics/LinearAlgebra/Complex32/SparseMatrix.cs +++ b/src/Numerics/LinearAlgebra/Complex32/SparseMatrix.cs @@ -131,7 +131,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32 /// A new memory block will be allocated for storing the matrix. /// /// - public static SparseMatrix OfColumnMajor(int rows, int columns, Complex32[] columnMajor) + public static SparseMatrix OfColumnMajor(int rows, int columns, IList columnMajor) { return new SparseMatrix(SparseCompressedRowMatrixStorage.OfColumnMajorList(rows, columns, columnMajor)); } diff --git a/src/Numerics/LinearAlgebra/Double/SparseMatrix.cs b/src/Numerics/LinearAlgebra/Double/SparseMatrix.cs index 80c4e64e..0ed4c50c 100644 --- a/src/Numerics/LinearAlgebra/Double/SparseMatrix.cs +++ b/src/Numerics/LinearAlgebra/Double/SparseMatrix.cs @@ -130,7 +130,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double /// A new memory block will be allocated for storing the matrix. /// /// - public static SparseMatrix OfColumnMajor(int rows, int columns, double[] columnMajor) + public static SparseMatrix OfColumnMajor(int rows, int columns, IList columnMajor) { return new SparseMatrix(SparseCompressedRowMatrixStorage.OfColumnMajorList(rows, columns, columnMajor)); } diff --git a/src/Numerics/LinearAlgebra/Single/SparseMatrix.cs b/src/Numerics/LinearAlgebra/Single/SparseMatrix.cs index d6270828..6fdba1f4 100644 --- a/src/Numerics/LinearAlgebra/Single/SparseMatrix.cs +++ b/src/Numerics/LinearAlgebra/Single/SparseMatrix.cs @@ -130,7 +130,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single /// A new memory block will be allocated for storing the matrix. /// /// - public static SparseMatrix OfColumnMajor(int rows, int columns, float[] columnMajor) + public static SparseMatrix OfColumnMajor(int rows, int columns, IList columnMajor) { return new SparseMatrix(SparseCompressedRowMatrixStorage.OfColumnMajorList(rows, columns, columnMajor)); }