Browse Source

SparseMatrix marked as Serializable

MathNet.Numerics.LinearAlgebra.Storage.MatrixStorage and
MathNet.Numerics.LinearAlgebra.Storage.SparseCompressedRowMatrixStorage
have been marked as Serializable

Update by ruegg: mark all other storage classes as Serializable as well,
get rid of tabs
la-knuth
VicPara 14 years ago
committed by Christoph Ruegg
parent
commit
733ce50abf
  1. 1
      src/Numerics/LinearAlgebra/Storage/DenseColumnMajorMatrixStorage.cs
  2. 1
      src/Numerics/LinearAlgebra/Storage/DenseVectorStorage.cs
  3. 1
      src/Numerics/LinearAlgebra/Storage/DiagonalMatrixStorage.cs
  4. 1
      src/Numerics/LinearAlgebra/Storage/MatrixStorage.cs
  5. 1
      src/Numerics/LinearAlgebra/Storage/SparseCompressedRowMatrixStorage.cs
  6. 1
      src/Numerics/LinearAlgebra/Storage/VectorStorage.cs

1
src/Numerics/LinearAlgebra/Storage/DenseColumnMajorMatrixStorage.cs

@ -3,6 +3,7 @@ using MathNet.Numerics.Properties;
namespace MathNet.Numerics.LinearAlgebra.Storage
{
[Serializable]
public class DenseColumnMajorMatrixStorage<T> : MatrixStorage<T>
where T : struct, IEquatable<T>, IFormattable
{

1
src/Numerics/LinearAlgebra/Storage/DenseVectorStorage.cs

@ -3,6 +3,7 @@ using MathNet.Numerics.Properties;
namespace MathNet.Numerics.LinearAlgebra.Storage
{
[Serializable]
public class DenseVectorStorage<T> : VectorStorage<T>
where T : struct, IEquatable<T>, IFormattable
{

1
src/Numerics/LinearAlgebra/Storage/DiagonalMatrixStorage.cs

@ -4,6 +4,7 @@ using MathNet.Numerics.Properties;
namespace MathNet.Numerics.LinearAlgebra.Storage
{
[Serializable]
public class DiagonalMatrixStorage<T> : MatrixStorage<T>
where T : struct, IEquatable<T>, IFormattable
{

1
src/Numerics/LinearAlgebra/Storage/MatrixStorage.cs

@ -3,6 +3,7 @@ using MathNet.Numerics.Properties;
namespace MathNet.Numerics.LinearAlgebra.Storage
{
[Serializable]
public abstract partial class MatrixStorage<T> : IEquatable<MatrixStorage<T>>
where T : struct, IEquatable<T>, IFormattable
{

1
src/Numerics/LinearAlgebra/Storage/SparseCompressedRowMatrixStorage.cs

@ -4,6 +4,7 @@ using MathNet.Numerics.Properties;
namespace MathNet.Numerics.LinearAlgebra.Storage
{
[Serializable]
public class SparseCompressedRowMatrixStorage<T> : MatrixStorage<T>
where T : struct, IEquatable<T>, IFormattable
{

1
src/Numerics/LinearAlgebra/Storage/VectorStorage.cs

@ -3,6 +3,7 @@ using MathNet.Numerics.Properties;
namespace MathNet.Numerics.LinearAlgebra.Storage
{
[Serializable]
public abstract partial class VectorStorage<T> : IEquatable<VectorStorage<T>>
where T : struct, IEquatable<T>, IFormattable
{

Loading…
Cancel
Save