Browse Source

added missing Serializable attributes. work item:5683

la-knuth
Marcus Cuda 16 years ago
parent
commit
089544a1f6
  1. 1
      src/Numerics/LinearAlgebra/Complex/DenseMatrix.cs
  2. 1
      src/Numerics/LinearAlgebra/Complex/DenseVector.cs
  3. 1
      src/Numerics/LinearAlgebra/Complex/DiagonalMatrix.cs
  4. 1
      src/Numerics/LinearAlgebra/Complex/Matrix.cs
  5. 1
      src/Numerics/LinearAlgebra/Complex/SparseMatrix.cs
  6. 1
      src/Numerics/LinearAlgebra/Complex/SparseVector.cs
  7. 1
      src/Numerics/LinearAlgebra/Complex/Vector.cs
  8. 1
      src/Numerics/LinearAlgebra/Complex32/DenseMatrix.cs
  9. 1
      src/Numerics/LinearAlgebra/Complex32/DenseVector.cs
  10. 1
      src/Numerics/LinearAlgebra/Complex32/DiagonalMatrix.cs
  11. 1
      src/Numerics/LinearAlgebra/Complex32/Matrix.cs
  12. 1
      src/Numerics/LinearAlgebra/Complex32/SparseMatrix.cs
  13. 1
      src/Numerics/LinearAlgebra/Complex32/SparseVector.cs
  14. 1
      src/Numerics/LinearAlgebra/Complex32/Vector.cs
  15. 1
      src/Numerics/LinearAlgebra/Double/DenseMatrix.cs
  16. 1
      src/Numerics/LinearAlgebra/Double/DenseVector.cs
  17. 1
      src/Numerics/LinearAlgebra/Double/DiagonalMatrix.cs
  18. 1
      src/Numerics/LinearAlgebra/Double/Matrix.cs
  19. 1
      src/Numerics/LinearAlgebra/Double/SparseMatrix.cs
  20. 1
      src/Numerics/LinearAlgebra/Double/SparseVector.cs
  21. 1
      src/Numerics/LinearAlgebra/Double/Vector.cs
  22. 1
      src/Numerics/LinearAlgebra/Single/DenseMatrix.cs
  23. 1
      src/Numerics/LinearAlgebra/Single/DenseVector.cs
  24. 1
      src/Numerics/LinearAlgebra/Single/DiagonalMatrix.cs
  25. 1
      src/Numerics/LinearAlgebra/Single/Matrix.cs
  26. 1
      src/Numerics/LinearAlgebra/Single/SparseMatrix.cs
  27. 1
      src/Numerics/LinearAlgebra/Single/SparseVector.cs
  28. 1
      src/Numerics/LinearAlgebra/Single/Vector.cs

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

@ -35,6 +35,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex
/// <summary>
/// A Matrix class with dense storage. The underlying storage is a one dimensional array in column-major order.
/// </summary>
[Serializable]
public class DenseMatrix : Matrix
{
/// <summary>

1
src/Numerics/LinearAlgebra/Complex/DenseVector.cs

@ -38,6 +38,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex
/// <summary>
/// A vector using dense storage.
/// </summary>
[Serializable]
public class DenseVector : Vector
{
/// <summary>

1
src/Numerics/LinearAlgebra/Complex/DiagonalMatrix.cs

@ -42,6 +42,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex
/// entries are set. The exception to this is when the off diagonal elements are
/// 0.0 or NaN; these settings will cause no change to the diagonal matrix.
/// </remarks>
[Serializable]
public class DiagonalMatrix : Matrix
{
/// <summary>

1
src/Numerics/LinearAlgebra/Complex/Matrix.cs

@ -35,6 +35,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex
/// <summary>
/// <c>Complex</c> version of the <see cref="Matrix{T}"/> class.
/// </summary>
[Serializable]
public abstract class Matrix : Matrix<Complex>
{
/// <summary>

1
src/Numerics/LinearAlgebra/Complex/SparseMatrix.cs

@ -41,6 +41,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex
/// A Matrix class with sparse storage. The underlying storage scheme is 3-array compressed-sparse-row (CSR) Format.
/// <a href="http://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_row_.28CSR_or_CRS.29">Wikipedia - CSR</a>.
/// </summary>
[Serializable]
public class SparseMatrix : Matrix
{
/// <summary>

1
src/Numerics/LinearAlgebra/Complex/SparseVector.cs

@ -39,6 +39,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex
/// A vector with sparse storage.
/// </summary>
/// <remarks>The sparse vector is not thread safe.</remarks>
[Serializable]
public class SparseVector : Vector
{
/// <summary>

1
src/Numerics/LinearAlgebra/Complex/Vector.cs

@ -36,6 +36,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex
/// <summary>
/// <c>Complex</c> version of the <see cref="Vector{T}"/> class.
/// </summary>
[Serializable]
public abstract class Vector : Vector<Complex>
{
/// <summary>

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

@ -35,6 +35,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32
/// <summary>
/// A Matrix class with dense storage. The underlying storage is a one dimensional array in column-major order.
/// </summary>
[Serializable]
public class DenseMatrix : Matrix
{
/// <summary>

1
src/Numerics/LinearAlgebra/Complex32/DenseVector.cs

@ -39,6 +39,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32
/// <summary>
/// A vector using dense storage.
/// </summary>
[Serializable]
public class DenseVector : Vector
{
/// <summary>

1
src/Numerics/LinearAlgebra/Complex32/DiagonalMatrix.cs

@ -42,6 +42,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32
/// entries are set. The exception to this is when the off diagonal elements are
/// 0.0 or NaN; these settings will cause no change to the diagonal matrix.
/// </remarks>
[Serializable]
public class DiagonalMatrix : Matrix
{
/// <summary>

1
src/Numerics/LinearAlgebra/Complex32/Matrix.cs

@ -35,6 +35,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32
/// <summary>
/// <c>Complex32</c> version of the <see cref="Matrix{T}"/> class.
/// </summary>
[Serializable]
public abstract class Matrix : Matrix<Complex32>
{
/// <summary>

1
src/Numerics/LinearAlgebra/Complex32/SparseMatrix.cs

@ -41,6 +41,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32
/// A Matrix class with sparse storage. The underlying storage scheme is 3-array compressed-sparse-row (CSR) Format.
/// <a href="http://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_row_.28CSR_or_CRS.29">Wikipedia - CSR</a>.
/// </summary>
[Serializable]
public class SparseMatrix : Matrix
{
/// <summary>

1
src/Numerics/LinearAlgebra/Complex32/SparseVector.cs

@ -39,6 +39,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32
/// A vector with sparse storage.
/// </summary>
/// <remarks>The sparse vector is not thread safe.</remarks>
[Serializable]
public class SparseVector : Vector
{
/// <summary>

1
src/Numerics/LinearAlgebra/Complex32/Vector.cs

@ -36,6 +36,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32
/// <summary>
/// <c>Complex32</c> version of the <see cref="Vector{T}"/> class.
/// </summary>
[Serializable]
public abstract class Vector : Vector<Complex32>
{
/// <summary>

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

@ -35,6 +35,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double
/// <summary>
/// A Matrix class with dense storage. The underlying storage is a one dimensional array in column-major order.
/// </summary>
[Serializable]
public class DenseMatrix : Matrix
{
/// <summary>

1
src/Numerics/LinearAlgebra/Double/DenseVector.cs

@ -38,6 +38,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double
/// <summary>
/// A vector using dense storage.
/// </summary>
[Serializable]
public class DenseVector : Vector
{
/// <summary>

1
src/Numerics/LinearAlgebra/Double/DiagonalMatrix.cs

@ -41,6 +41,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double
/// entries are set. The exception to this is when the off diagonal elements are
/// 0.0 or NaN; these settings will cause no change to the diagonal matrix.
/// </remarks>
[Serializable]
public class DiagonalMatrix : Matrix
{
/// <summary>

1
src/Numerics/LinearAlgebra/Double/Matrix.cs

@ -34,6 +34,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double
/// <summary>
/// <c>double</c> version of the <see cref="Matrix{T}"/> class.
/// </summary>
[Serializable]
public abstract class Matrix : Matrix<double>
{
/// <summary>

1
src/Numerics/LinearAlgebra/Double/SparseMatrix.cs

@ -40,6 +40,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double
/// A Matrix class with sparse storage. The underlying storage scheme is 3-array compressed-sparse-row (CSR) Format.
/// <a href="http://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_row_.28CSR_or_CRS.29">Wikipedia - CSR</a>.
/// </summary>
[Serializable]
public class SparseMatrix : Matrix
{
/// <summary>

1
src/Numerics/LinearAlgebra/Double/SparseVector.cs

@ -39,6 +39,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double
/// A vector with sparse storage.
/// </summary>
/// <remarks>The sparse vector is not thread safe.</remarks>
[Serializable]
public class SparseVector : Vector
{
/// <summary>

1
src/Numerics/LinearAlgebra/Double/Vector.cs

@ -35,6 +35,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double
/// <summary>
/// <c>double</c> version of the <see cref="Vector{T}"/> class.
/// </summary>
[Serializable]
public abstract class Vector : Vector<double>
{
/// <summary>

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

@ -35,6 +35,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single
/// <summary>
/// A Matrix class with dense storage. The underlying storage is a one dimensional array in column-major order.
/// </summary>
[Serializable]
public class DenseMatrix : Matrix
{
/// <summary>

1
src/Numerics/LinearAlgebra/Single/DenseVector.cs

@ -38,6 +38,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single
/// <summary>
/// A vector using dense storage.
/// </summary>
[Serializable]
public class DenseVector : Vector
{
/// <summary>

1
src/Numerics/LinearAlgebra/Single/DiagonalMatrix.cs

@ -41,6 +41,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single
/// entries are set. The exception to this is when the off diagonal elements are
/// 0.0 or NaN; these settings will cause no change to the diagonal matrix.
/// </remarks>
[Serializable]
public class DiagonalMatrix : Matrix
{
/// <summary>

1
src/Numerics/LinearAlgebra/Single/Matrix.cs

@ -34,6 +34,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single
/// <summary>
/// <c>float</c> version of the <see cref="Matrix{T}"/> class.
/// </summary>
[Serializable]
public abstract class Matrix : Matrix<float>
{
/// <summary>

1
src/Numerics/LinearAlgebra/Single/SparseMatrix.cs

@ -40,6 +40,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single
/// A Matrix class with sparse storage. The underlying storage scheme is 3-array compressed-sparse-row (CSR) Format.
/// <a href="http://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_row_.28CSR_or_CRS.29">Wikipedia - CSR</a>.
/// </summary>
[Serializable]
public class SparseMatrix : Matrix
{
/// <summary>

1
src/Numerics/LinearAlgebra/Single/SparseVector.cs

@ -39,6 +39,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single
/// A vector with sparse storage.
/// </summary>
/// <remarks>The sparse vector is not thread safe.</remarks>
[Serializable]
public class SparseVector : Vector
{
/// <summary>

1
src/Numerics/LinearAlgebra/Single/Vector.cs

@ -35,6 +35,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single
/// <summary>
/// <c>float</c> version of the <see cref="Vector{T}"/> class.
/// </summary>
[Serializable]
public abstract class Vector : Vector<float>
{
/// <summary>

Loading…
Cancel
Save