Browse Source

Obsolete the complete MathNet.Numerics.IO library

This library is replaced completely with separate libraries for
various data formats and isolated in their own repository and NuGet package.
Among other this allows us to add format-specific dependencies
without any impact on the core library.

Some of the new and already existing packages:

- MathNet.Numerics.Data.Text
- MathNet.Numerics.Data.Matlab
v2
Christoph Ruegg 13 years ago
parent
commit
ff0e24fa1c
  1. 1
      src/Numerics.IO/LinearAlgebra/Complex/IO/DelimitedReader.cs
  2. 3
      src/Numerics.IO/LinearAlgebra/Complex/IO/MatlabReader.cs
  3. 1
      src/Numerics.IO/LinearAlgebra/Complex32/IO/DelimitedReader.cs
  4. 3
      src/Numerics.IO/LinearAlgebra/Complex32/IO/MatlabReader.cs
  5. 1
      src/Numerics.IO/LinearAlgebra/Double/IO/DelimitedReader.cs
  6. 3
      src/Numerics.IO/LinearAlgebra/Double/IO/MatlabReader.cs
  7. 1
      src/Numerics.IO/LinearAlgebra/IO/DelimitedReader.cs
  8. 1
      src/Numerics.IO/LinearAlgebra/IO/DelimitedWriter.cs
  9. 3
      src/Numerics.IO/LinearAlgebra/IO/Matlab/Adler32.cs
  10. 3
      src/Numerics.IO/LinearAlgebra/IO/Matlab/ArrayClass.cs
  11. 1
      src/Numerics.IO/LinearAlgebra/IO/Matlab/ArrayFlags.cs
  12. 3
      src/Numerics.IO/LinearAlgebra/IO/Matlab/DataType.cs
  13. 1
      src/Numerics.IO/LinearAlgebra/IO/Matlab/MatlabFile.cs
  14. 1
      src/Numerics.IO/LinearAlgebra/IO/Matlab/MatlabParser.cs
  15. 1
      src/Numerics.IO/LinearAlgebra/IO/MatlabReader.cs
  16. 1
      src/Numerics.IO/LinearAlgebra/IO/MatlabWriter.cs
  17. 1
      src/Numerics.IO/LinearAlgebra/IO/MatrixReader.cs
  18. 1
      src/Numerics.IO/LinearAlgebra/IO/MatrixWriter.cs
  19. 1
      src/Numerics.IO/LinearAlgebra/Single/IO/DelimitedReader.cs
  20. 3
      src/Numerics.IO/LinearAlgebra/Single/IO/MatlabReader.cs

1
src/Numerics.IO/LinearAlgebra/Complex/IO/DelimitedReader.cs

@ -36,6 +36,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex.IO
/// specify a delimiter, then any whitespace is used.
/// </summary>
/// <typeparam name="TMatrix">The type of the matrix to return.</typeparam>
[Obsolete("Use MathNet.Numerics.Data.Text instead (separate NuGet package). Scheduled for removal in v3.0.")]
public class DelimitedReader<TMatrix> : DelimitedReader<TMatrix, Complex>
where TMatrix : Matrix<Complex>
{

3
src/Numerics.IO/LinearAlgebra/Complex/IO/MatlabReader.cs

@ -24,6 +24,8 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using System;
namespace MathNet.Numerics.LinearAlgebra.Complex.IO
{
using System.IO;
@ -32,6 +34,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex.IO
/// <summary>
/// Creates matrices from Matlab files.
/// </summary>
[Obsolete("Use MathNet.Numerics.Data.Matlab instead (separate NuGet package). Scheduled for removal in v3.0.")]
public class MatlabMatrixReader : MatlabMatrixReader<System.Numerics.Complex>
{
/// <summary>

1
src/Numerics.IO/LinearAlgebra/Complex32/IO/DelimitedReader.cs

@ -36,6 +36,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32.IO
/// specify a delimiter, then any whitespace is used.
/// </summary>
/// <typeparam name="TMatrix">The type of the matrix to return.</typeparam>
[Obsolete("Use MathNet.Numerics.Data.Text instead (separate NuGet package). Scheduled for removal in v3.0.")]
public class DelimitedReader<TMatrix> : DelimitedReader<TMatrix, Complex32>
where TMatrix : Matrix<Complex32>
{

3
src/Numerics.IO/LinearAlgebra/Complex32/IO/MatlabReader.cs

@ -24,6 +24,8 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using System;
namespace MathNet.Numerics.LinearAlgebra.Complex32.IO
{
using System.IO;
@ -32,6 +34,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32.IO
/// <summary>
/// Creates matrices from Matlab files.
/// </summary>
[Obsolete("Use MathNet.Numerics.Data.Matlab instead (separate NuGet package). Scheduled for removal in v3.0.")]
public class MatlabMatrixReader : MatlabMatrixReader<Numerics.Complex32>
{
/// <summary>

1
src/Numerics.IO/LinearAlgebra/Double/IO/DelimitedReader.cs

@ -35,6 +35,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double.IO
/// specify a delimiter, then any whitespace is used.
/// </summary>
/// <typeparam name="TMatrix">The type of the matrix to return.</typeparam>
[Obsolete("Use MathNet.Numerics.Data.Text instead (separate NuGet package). Scheduled for removal in v3.0.")]
public class DelimitedReader<TMatrix> : DelimitedReader<TMatrix, double>
where TMatrix : Matrix<double>
{

3
src/Numerics.IO/LinearAlgebra/Double/IO/MatlabReader.cs

@ -24,6 +24,8 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using System;
namespace MathNet.Numerics.LinearAlgebra.Double.IO
{
using System.IO;
@ -32,6 +34,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double.IO
/// <summary>
/// Creates matrices from Matlab files.
/// </summary>
[Obsolete("Use MathNet.Numerics.Data.Matlab instead (separate NuGet package). Scheduled for removal in v3.0.")]
public class MatlabMatrixReader : MatlabMatrixReader<double>
{
/// <summary>

1
src/Numerics.IO/LinearAlgebra/IO/DelimitedReader.cs

@ -43,6 +43,7 @@ namespace MathNet.Numerics.LinearAlgebra.IO
/// </summary>
/// <typeparam name="TMatrix">The type of the matrix to return.</typeparam>
/// <typeparam name="TDataType">The data type of the Matrix. It can be either: double, float, Complex, or Complex32.</typeparam>
[Obsolete("Use MathNet.Numerics.Data.Text instead (separate NuGet package). Scheduled for removal in v3.0.")]
public class DelimitedReader<TMatrix, TDataType> : MatrixReader<TMatrix, TDataType>
where TMatrix : Matrix<TDataType>
where TDataType : struct, IEquatable<TDataType>, IFormattable

1
src/Numerics.IO/LinearAlgebra/IO/DelimitedWriter.cs

@ -38,6 +38,7 @@ namespace MathNet.Numerics.LinearAlgebra.IO
/// Writes an <see cref="Matrix{TDataType}"/> to delimited text file. If the user does not
/// specify a delimiter, a tab separator is used.
/// </summary>
[Obsolete("Use MathNet.Numerics.Data.Text instead (separate NuGet package). Scheduled for removal in v3.0.")]
public class DelimitedWriter : MatrixWriter
{
/// <summary>

3
src/Numerics.IO/LinearAlgebra/IO/Matlab/Adler32.cs

@ -53,8 +53,11 @@
*/
using System;
namespace MathNet.Numerics.LinearAlgebra.IO.Matlab
{
[Obsolete("Use MathNet.Numerics.Data.Matlab instead (separate NuGet package). Scheduled for removal in v3.0.")]
internal static class Adler32
{
/* largest prime smaller than 65536 */

3
src/Numerics.IO/LinearAlgebra/IO/Matlab/ArrayClass.cs

@ -26,11 +26,14 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using System;
namespace MathNet.Numerics.LinearAlgebra.IO.Matlab
{
/// <summary>
/// Enumeration for the Matlab array types
/// </summary>
[Obsolete("Use MathNet.Numerics.Data.Matlab instead (separate NuGet package). Scheduled for removal in v3.0.")]
internal enum ArrayClass : byte
{
/// <summary>

1
src/Numerics.IO/LinearAlgebra/IO/Matlab/ArrayFlags.cs

@ -34,6 +34,7 @@ namespace MathNet.Numerics.LinearAlgebra.IO.Matlab
/// Matlab Array Flags
/// </summary>
[Flags]
[Obsolete("Use MathNet.Numerics.Data.Matlab instead (separate NuGet package). Scheduled for removal in v3.0.")]
internal enum ArrayFlags
{
/// <summary>

3
src/Numerics.IO/LinearAlgebra/IO/Matlab/DataType.cs

@ -26,11 +26,14 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using System;
namespace MathNet.Numerics.LinearAlgebra.IO.Matlab
{
/// <summary>
/// Matlab data types
/// </summary>
[Obsolete("Use MathNet.Numerics.Data.Matlab instead (separate NuGet package). Scheduled for removal in v3.0.")]
internal enum DataType
{
/// <summary>

1
src/Numerics.IO/LinearAlgebra/IO/Matlab/MatlabFile.cs

@ -36,6 +36,7 @@ namespace MathNet.Numerics.LinearAlgebra.IO.Matlab
/// Represents a Matlab file
/// </summary>
/// <typeparam name="TDataType">The data type of the matrix to return.</typeparam>
[Obsolete("Use MathNet.Numerics.Data.Matlab instead (separate NuGet package). Scheduled for removal in v3.0.")]
internal class MatlabFile<TDataType> where TDataType : struct, IEquatable<TDataType>, IFormattable
{
/// <summary>

1
src/Numerics.IO/LinearAlgebra/IO/Matlab/MatlabParser.cs

@ -42,6 +42,7 @@ namespace MathNet.Numerics.LinearAlgebra.IO.Matlab
/// Parse a Matlab file
/// </summary>
/// <typeparam name="TDataType">The data type of the matrix.</typeparam>
[Obsolete("Use MathNet.Numerics.Data.Matlab instead (separate NuGet package). Scheduled for removal in v3.0.")]
internal class MatlabParser<TDataType>
where TDataType : struct, IEquatable<TDataType>, IFormattable
{

1
src/Numerics.IO/LinearAlgebra/IO/MatlabReader.cs

@ -40,6 +40,7 @@ namespace MathNet.Numerics.LinearAlgebra.IO
/// Creates matrices from Matlab files.
/// </summary>
/// <typeparam name="TDataType">The data type of the Matrix. It can be either: double, float, Complex, or Complex32.</typeparam>
[Obsolete("Use MathNet.Numerics.Data.Matlab instead (separate NuGet package). Scheduled for removal in v3.0.")]
public class MatlabMatrixReader<TDataType> where TDataType : struct, IEquatable<TDataType>, IFormattable
{
/// <summary>

1
src/Numerics.IO/LinearAlgebra/IO/MatlabWriter.cs

@ -42,6 +42,7 @@ namespace MathNet.Numerics.LinearAlgebra.IO
/// <summary>
/// Writes matrices to a Matlab file.
/// </summary>
[Obsolete("Use MathNet.Numerics.Data.Matlab instead (separate NuGet package). Scheduled for removal in v3.0.")]
public class MatlabMatrixWriter : IDisposable
{
/// <summary>

1
src/Numerics.IO/LinearAlgebra/IO/MatrixReader.cs

@ -36,6 +36,7 @@ namespace MathNet.Numerics.LinearAlgebra.IO
/// </summary>
/// <typeparam name="TMatrix">The type of Matrix to return.</typeparam>
/// <typeparam name="TDataType">The data type of the Matrix. It can be either: double, float, Complex, or Complex32.</typeparam>
[Obsolete("Use MathNet.Numerics.Data.Text instead (separate NuGet package). Scheduled for removal in v3.0.")]
public abstract class MatrixReader<TMatrix, TDataType>
where TMatrix : Matrix<TDataType>
where TDataType : struct, IEquatable<TDataType>, IFormattable

1
src/Numerics.IO/LinearAlgebra/IO/MatrixWriter.cs

@ -37,6 +37,7 @@ namespace MathNet.Numerics.LinearAlgebra.IO
/// <summary>
/// Base class to write a single <see cref="Matrix{DataType}"/> to a file or stream.
/// </summary>
[Obsolete("Use MathNet.Numerics.Data.Text instead (separate NuGet package). Scheduled for removal in v3.0.")]
public abstract class MatrixWriter
{
/// <summary>

1
src/Numerics.IO/LinearAlgebra/Single/IO/DelimitedReader.cs

@ -35,6 +35,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single.IO
/// specify a delimiter, then any whitespace is used.
/// </summary>
/// <typeparam name="TMatrix">The type of the matrix to return.</typeparam>
[Obsolete("Use MathNet.Numerics.Data.Text instead (separate NuGet package). Scheduled for removal in v3.0.")]
public class DelimitedReader<TMatrix> : DelimitedReader<TMatrix, float>
where TMatrix : Matrix<float>
{

3
src/Numerics.IO/LinearAlgebra/Single/IO/MatlabReader.cs

@ -24,6 +24,8 @@
// OTHER DEALINGS IN THE SOFTWARE.
// </copyright>
using System;
namespace MathNet.Numerics.LinearAlgebra.Single.IO
{
using System.IO;
@ -32,6 +34,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single.IO
/// <summary>
/// Creates matrices from Matlab files.
/// </summary>
[Obsolete("Use MathNet.Numerics.Data.Matlab instead (separate NuGet package). Scheduled for removal in v3.0.")]
public class MatlabMatrixReader : MatlabMatrixReader<float>
{
/// <summary>

Loading…
Cancel
Save