Matrix.CreateUpperBanded Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

CreateUpperBanded<T>(Int32, Int32, Int32) Constructs an upper band matrix
CreateUpperBanded<T>(Int32, Int32, Int32, MatrixDiagonal) Constructs an upper band matrix

CreateUpperBanded<T>(Int32, Int32, Int32)

Constructs an upper band matrix
C#
public static BandMatrix<T> CreateUpperBanded<T>(
	int rowCount,
	int columnCount,
	int bandwidth
)

Parameters

rowCount  Int32
The number of rows.
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>.

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

Constructs an upper band matrix
C#
public static BandMatrix<T> CreateUpperBanded<T>(
	int rowCount,
	int columnCount,
	int bandwidth,
	MatrixDiagonal matrixDiagonal
)

Parameters

rowCount  Int32
The number of rows.
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