Generic Decomposition Operations<T>.Hermitian Solve Method
Solves a system of linear equations A*X = B with a complex Hermitian matrix A using the factorization A = U*D*UH or A = L*D*LH computed by ZHETRF.
Definition
Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics.Generic (in Extreme.Numerics.Generic.dll) Version: 8.1.4
C#
Assembly: Extreme.Numerics.Generic (in Extreme.Numerics.Generic.dll) Version: 8.1.4
public override void HermitianSolve(
MatrixTriangle storedTriangle,
int n,
int nrhs,
Array2D<Complex<T>> a,
Array1D<int> ipiv,
Array2D<Complex<T>> b,
out int info
)
Parameters
- storedTriangle MatrixTriangle
Specifies whether the details of the factorization are stored as an upper or lower triangular matrix. = 'U': Upper triangular, form is A = U*D*UH; = 'L': Lower triangular, form is A = L*D*LH.
- n Int32
The order of the matrix A. N >= 0.
- nrhs Int32
The number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0.
- a Array2D<Complex<T>>
A is complex array, dimension (LDA,N) The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by ZHETRF.
The leading dimension of the array A. LDA >= max(1,N).
- ipiv Array1D<Int32>
Dimension (N) Details of the interchanges and the block structure of D as determined by ZHETRF.
- b Array2D<Complex<T>>
B is complex array, dimension (LDB,NRHS) On entry, the right hand side matrix B. On exit, the solution matrix X.
The leading dimension of the array B. LDB >= max(1,N).
- info Int32
info is INTEGER = 0: successful exit < 0: if info = -i, the i-th argument had an illegal value