BandMatrix<T> Constructor

Definition

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

Overload List

BandMatrix<T>(SerializationInfo, StreamingContext) Constructs a new matrix from serialization values.
Obsolete.
BandMatrix<T>(Int32, Int32, Int32, Int32, ArrayAttributes) Constructs a new matrix of the specified dimensions.

BandMatrix<T>(SerializationInfo, StreamingContext)

Note: This API is now obsolete.
Constructs a new matrix from serialization values.
C#
[ObsoleteAttribute(DiagnosticId = "SYSLIB0051")]
protected BandMatrix(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info  SerializationInfo
The values needed to serialize or deserialize the Matrix<T>.
context  StreamingContext
The source and destination of a given serialized stream.

Remarks

This constructor is called internally by the .NET framework when a Matrix<T> is deserialized.

BandMatrix<T>(Int32, Int32, Int32, Int32, ArrayAttributes)

Constructs a new matrix of the specified dimensions.
C#
protected BandMatrix(
	int rowCount,
	int columnCount,
	int lowerBandwidth,
	int upperBandwidth,
	ArrayAttributes attributes
)

Parameters

rowCount  Int32
The number of rows.
columnCount  Int32
The number of columns.
lowerBandwidth  Int32
The number of diagonals below the main diagonal that may contain nonzero elements.
upperBandwidth  Int32
The number of diagonals above the main diagonal that may contain nonzero elements.
attributes  ArrayAttributes
The attributes of the new matrix.

Exceptions

ArgumentOutOfRangeException

rowCount is less than zero.

-or-

columnCount is less than zero.

See Also