ManagedLapack.HermitianEstimateCondition Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

HermitianEstimateCondition(MatrixTriangle, Int32, Array2D<TComplex>, Array1D<Int32>, TReal, TReal, Int32)

Estimates the reciprocal of the condition number of a complex Hermitian matrix A using the factorization A = U*D*UH or A = L*D*LH computed by ZHETRF.

HermitianEstimateCondition(MatrixTriangle, Int32, ReadOnlySpan2D<TComplex>, Span<Int32>, TReal, TReal, Int32)

Estimates the reciprocal of the condition number of a complex Hermitian matrix A using the factorization A = U*D*UH or A = L*D*LH computed by ZHETRF.

HermitianEstimateCondition(MatrixTriangle, Int32, ReadOnlySpan<Complex<Double>>, Int32, ReadOnlySpan<Int32>, Double, Double, Int32)

Estimates the reciprocal of the condition number of a complex Hermitian matrix A using the factorization A = U*D*UH or A = L*D*LH computed by ZHETRF.

HermitianEstimateCondition(MatrixTriangle, Int32, ReadOnlySpan<Complex<Double>>, Int32, ReadOnlySpan<Int32>, Double, Double, Int32)

Estimates the reciprocal of the condition number of a complex Hermitian matrix A using the factorization A = U*D*UH or A = L*D*LH computed by ZHETRF.

C#
public override void HermitianEstimateCondition(
	MatrixTriangle storedTriangle,
	int n,
	ReadOnlySpan<Complex<double>> a,
	int lda,
	ReadOnlySpan<int> ipiv,
	double anorm,
	out double rcond,
	out int info
)

Parameters

storedTriangle  MatrixTriangle
 
n  Int32
            The order of the matrix A.  N >= 0.
            
a  ReadOnlySpan<Complex<Double>>
            A is TComplex array, dimension (LDA,N)
            The block diagonal matrix D and the multipliers used to
            obtain the factor U or L as computed by ZHETRF.
            
lda  Int32
            The leading dimension of the array A.  LDA >= max(1,N).
            
ipiv  ReadOnlySpan<Int32>
            Dimension (N)
            Details of the interchanges and the block structure of D
            as determined by ZHETRF.
            
anorm  Double
            ANORM is TReal
            The 1-norm of the original matrix A.
            
rcond  Double
            RCOND is TReal
            The reciprocal of the condition number of the matrix A,
            computed as RCOND = 1/(ANORM * AINVNM), where AINVNM is an
            estimate of the 1-norm of inv(A) computed in this routine.
            
info  Int32
            = 0:  successful exit
            < 0:  if INFO = -i, the i-th argument had an illegal value
            

Remarks

            An estimate is obtained for norm(inv(A)), and the reciprocal of the
            condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
            

See Also