Matrix.CreateLowerBanded Method

Definition

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

Overload List

CreateLowerBanded<T>(Int32, Int32, Int32)

Constructs a lower band matrix
C#
public static BandMatrix<T> CreateLowerBanded<T>(
	int rowCount,
	int columnCount,
	int bandwidth
)

Parameters

rowCount  Int32
The number of rows and columns.
columnCount  Int32
The number of columns.
bandwidth  Int32
The number of diagonals above or below the main diagonal that may contain nonzero elements.

Type Parameters

T

Return Value

BandMatrix<T>
A BandMatrix<T>.

CreateLowerBanded<T>(Int32, Int32, Int32, MatrixDiagonal)

Constructs a lower band matrix
C#
public static BandMatrix<T> CreateLowerBanded<T>(
	int rowCount,
	int columnCount,
	int bandwidth,
	MatrixDiagonal matrixDiagonal
)

Parameters

rowCount  Int32
The number of rows and columns.
columnCount  Int32
The number of columns.
bandwidth  Int32
The number of diagonals above or below the main diagonal that may contain nonzero elements.
matrixDiagonal  MatrixDiagonal
A MatrixDiagonal value that indicates whether the diagonal elements are all 1 or not.

Type Parameters

T

Return Value

BandMatrix<T>
A BandMatrix<T>.

See Also