Constructs a new upper triangular matrix.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static TriangularMatrix<T> CreateUpperTriangular<T>(
int rowCount,
int columnCount,
Array2D<T> storage,
MatrixDiagonal diagonal,
MatrixElementOrder order
)
Public Shared Function CreateUpperTriangular(Of T) (
rowCount As Integer,
columnCount As Integer,
storage As Array2D(Of T),
diagonal As MatrixDiagonal,
order As MatrixElementOrder
) As TriangularMatrix(Of T)
public:
generic<typename T>
static TriangularMatrix<T>^ CreateUpperTriangular(
int rowCount,
int columnCount,
Array2D<T> storage,
MatrixDiagonal diagonal,
MatrixElementOrder order
)
static member CreateUpperTriangular :
rowCount : int *
columnCount : int *
storage : Array2D<'T> *
diagonal : MatrixDiagonal *
order : MatrixElementOrder -> TriangularMatrix<'T>
Parameters
- rowCount
- Type: SystemInt32
The number of rows. - columnCount
- Type: SystemInt32
The number of columns. - storage
- Type: Extreme.CollectionsArray2DT
A 2D array that contains the
elements. - diagonal
- Type: Extreme.MathematicsMatrixDiagonal
A MatrixDiagonal
value that indicates whether the diagonal elements
are all 1 or not. - order
- Type: Extreme.MathematicsMatrixElementOrder
A MatrixElementOrder
value that indicates whether the elements are stored
in column major or row major order.
Type Parameters
- T
Return Value
Type:
TriangularMatrixTA triangular matrix.
Reference