Constructs a new upper triangular matrix.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static ComplexTriangularMatrix CreateUpperTriangular(
int rowCount,
int columnCount,
DoubleComplex[] values,
MatrixDiagonal diagonal,
MatrixElementOrder order,
bool reuseComponentArray
)
Public Shared Function CreateUpperTriangular (
rowCount As Integer,
columnCount As Integer,
values As DoubleComplex(),
diagonal As MatrixDiagonal,
order As MatrixElementOrder,
reuseComponentArray As Boolean
) As ComplexTriangularMatrix
public:
static ComplexTriangularMatrix^ CreateUpperTriangular(
int rowCount,
int columnCount,
array<DoubleComplex>^ values,
MatrixDiagonal diagonal,
MatrixElementOrder order,
bool reuseComponentArray
)
static member CreateUpperTriangular :
rowCount : int *
columnCount : int *
values : DoubleComplex[] *
diagonal : MatrixDiagonal *
order : MatrixElementOrder *
reuseComponentArray : bool -> ComplexTriangularMatrix
Parameters
- rowCount
- Type: SystemInt32
The number of rows. - columnCount
- Type: SystemInt32
The number of columns. - values
- Type: Extreme.MathematicsDoubleComplex
A DoubleComplex array containing the
components. - diagonal
- Type: Extreme.MathematicsMatrixDiagonal
A MatrixDiagonal
value that indicates whether the diagional 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. - reuseComponentArray
- Type: SystemBoolean
If , the array referenced by
values is used directly. Any
changes to the components of this ComplexTriangularMatrix
will also affect the original array. If , the components are
copied from values to a new
array.
Return Value
Type:
ComplexTriangularMatrixA
ComplexTriangularMatrix.
The array values must contain the components
of the matrix, column by column. Depending on the value of order,
the values in the upper or lower triangular part of this array are used. The other elements must
be present, but they are never accessed.
Numerical Libraries
Supported in: 5.x, 4.x
Reference