Matrix.CreateUpperTriangular<T>(Int32, Int32, Array2D<T>, MatrixDiagonal, MatrixElementOrder) Method

Constructs a new upper triangular matrix.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static TriangularMatrix<T> CreateUpperTriangular<T>(
	int rowCount,
	int columnCount,
	Array2D<T> storage,
	MatrixDiagonal diagonal,
	MatrixElementOrder order
)

Parameters

rowCount  Int32
The number of rows.
columnCount  Int32
The number of columns.
storage  Array2D<T>
A 2D array that contains the elements.
diagonal  MatrixDiagonal
A MatrixDiagonal value that indicates whether the diagonal elements are all 1 or not.
order  MatrixElementOrder
A MatrixElementOrder value that indicates whether the elements are stored in column major or row major order.

Type Parameters

T

Return Value

TriangularMatrix<T>
A triangular matrix.

See Also