Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static HermitianMatrix<T> ExtractHermitian<T>(
DenseMatrix<T> matrix,
int dimension,
int startRow,
int startColumn,
MatrixTriangle storedTriangle,
bool reuseComponentArray
)
Public Shared Function ExtractHermitian(Of T) (
matrix As DenseMatrix(Of T),
dimension As Integer,
startRow As Integer,
startColumn As Integer,
storedTriangle As MatrixTriangle,
reuseComponentArray As Boolean
) As HermitianMatrix(Of T)
public:
generic<typename T>
static HermitianMatrix<T>^ ExtractHermitian(
DenseMatrix<T>^ matrix,
int dimension,
int startRow,
int startColumn,
MatrixTriangle storedTriangle,
bool reuseComponentArray
)
static member ExtractHermitian :
matrix : DenseMatrix<'T> *
dimension : int *
startRow : int *
startColumn : int *
storedTriangle : MatrixTriangle *
reuseComponentArray : bool -> HermitianMatrix<'T>
Parameters
- matrix
- Type: Extreme.Mathematics.LinearAlgebraDenseMatrixT
The matrix that contains the elements of the new matrix. - dimension
- Type: SystemInt32
The number of rows and columns of the new matrix. - startRow
- Type: SystemInt32
The row in matrix of the first component
of the new matrix. - startColumn
- Type: SystemInt32
The column in matrix of the first component
of the new matrix. - storedTriangle
- Type: Extreme.MathematicsMatrixTriangle
A MatrixTriangle value that indicates
whether the elements of the Hermitian matrix are stored in the upper or lower
triangular portion of the block specified by startRow and
startColumn. - reuseComponentArray
- Type: SystemBoolean
A boolean value that indicates
whether the storage array used by matrix should be
copied or reused for internal storage.
Type Parameters
- T
Return Value
Type:
HermitianMatrixTA
HermitianMatrixT.
Exception | Condition |
---|
ArgumentNullException | matrix is . |
ArgumentOutOfRangeException | dimension is less than zero
-or- startRow is less than zero or greater than or equal to the number of
rows in matrix. -or- startColumn is less than zero or greater than or equal to the number of
columns in matrix. |
ArgumentException | startRow plus dimension is greater than
or equal to the number of rows in matrix. -or- startColumn plus dimension is greater than
or equal to the number of columns in matrix. |
Reference