Constructs a new lower triangular matrix.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static TriangularMatrix<T> CreateLowerTriangular<T>(
int rowCount,
int columnCount,
T[] values,
MatrixElementOrder order
)
Public Shared Function CreateLowerTriangular(Of T) (
rowCount As Integer,
columnCount As Integer,
values As T(),
order As MatrixElementOrder
) As TriangularMatrix(Of T)
public:
generic<typename T>
static TriangularMatrix<T>^ CreateLowerTriangular(
int rowCount,
int columnCount,
array<T>^ values,
MatrixElementOrder order
)
static member CreateLowerTriangular :
rowCount : int *
columnCount : int *
values : 'T[] *
order : MatrixElementOrder -> TriangularMatrix<'T>
Parameters
- rowCount
- Type: SystemInt32
The number of rows. - columnCount
- Type: SystemInt32
The number of columns. - values
- Type: T
A T array that contains the
elements. - 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.
The array values must contain the elements
of the matrix, column by column. Only the elements in the
lower triangular part of this array are used. The other elements must
be present, but they are never accessed.
Reference