DenseMatrix<T> Constructor

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

DenseMatrix<T>(SerializationInfo, StreamingContext)Initializes a new instance of the DenseMatrix<T> class
Obsolete.
DenseMatrix<T>(Int32, Int32, ArrayAttributes) Constructs a new matrix of the specified dimensions.

DenseMatrix<T>(SerializationInfo, StreamingContext)

Note: This API is now obsolete.
Initializes a new instance of the DenseMatrix<T> class
C#
[ObsoleteAttribute(DiagnosticId = "SYSLIB0051")]
protected DenseMatrix(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info  SerializationInfo
 
context  StreamingContext
 

DenseMatrix<T>(Int32, Int32, ArrayAttributes)

Constructs a new matrix of the specified dimensions.
C#
protected DenseMatrix(
	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 new matrix.

Exceptions

ArgumentOutOfRangeException

rowCount is less than zero.

-or-

columnCount is less than zero.

See Also