Sparse Matrix<T> Constructor
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Sparse |
Constructs a new sparse matrix from serialization
data.
Obsolete. |
Sparse | Constructs a new sparse matrix object. |
SparseMatrix<T>(SerializationInfo, StreamingContext)
Constructs a new sparse matrix from serialization
data.
[ObsoleteAttribute(DiagnosticId = "SYSLIB0051")]
protected SparseMatrix(
SerializationInfo info,
StreamingContext context
)
Parameters
- info SerializationInfo
- The data needed to serialize or deserialize the DenseMatrix<T>.
- context StreamingContext
- The source and destination of a given serialized stream.
Remarks
This constructor is called internally by the .NET framework when a SparseMatrix<T> is deserialized.
SparseMatrix<T>(Int32, Int32, ArrayAttributes)
Constructs a new sparse matrix object.
protected SparseMatrix(
int rowCount,
int columnCount,
ArrayAttributes attributes
)
Parameters
- rowCount Int32
- The number of rows.
- columnCount Int32
- The number of columns.
- attributes ArrayAttributes
- The attributes of the matrix.