ManagedLapackOfSingle.BandLUEstimateCondition Method

Definition

Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics.SinglePrecision (in Extreme.Numerics.SinglePrecision.dll) Version: 8.1.4

Overload List

BandLUEstimateCondition(MatrixNorm, Int32, Int32, Int32, Array2D<Complex<Single>>, Array1D<Int32>, Single, Single, Int32)

Estimates the reciprocal of the condition number of a complex general band matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by ZGBTRF.

BandLUEstimateCondition(MatrixNorm, Int32, Int32, Int32, Array2D<Single>, Array1D<Int32>, Single, Single, Int32)

Estimates the reciprocal of the condition number of a real general band matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by DGBTRF.

BandLUEstimateCondition(MatrixNorm, Int32, Int32, Int32, Array2D<Complex<Single>>, Array1D<Int32>, Single, Single, Int32)

Estimates the reciprocal of the condition number of a complex general band matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by ZGBTRF.

C#
public override void BandLUEstimateCondition(
	MatrixNorm norm,
	int n,
	int kl,
	int ku,
	Array2D<Complex<float>> ab,
	Array1D<int> ipiv,
	float anorm,
	out float rcond,
	out int info
)

Parameters

norm  MatrixNorm
            Specifies whether the 1-norm condition number or the
            infinity-norm condition number is required:
            = '1' or 'O':  1-norm;
            = 'I':         Infinity-norm.
            
n  Int32
            The order of the matrix A.  N >= 0.
            
kl  Int32
            The number of subdiagonals within the band of A.  KL >= 0.
            
ku  Int32
            The number of superdiagonals within the band of A.  KU >= 0.
            
ab  Array2D<Complex<Single>>
            Dimension (LDAB,N)
            Details of the LU factorization of the band matrix A, as
            computed by ZGBTRF.  U is stored as an upper triangular band
            matrix with KL+KU superdiagonals in rows 1 to KL+KU+1, and
            the multipliers used during the factorization are stored in
            rows KL+KU+2 to 2*KL+KU+1.
            
            The leading dimension of the array AB.  LDAB >= 2*KL+KU+1.
            
ipiv  Array1D<Int32>
            Dimension (N)
            The pivot indices; for 1 <= i <= N, row i of the matrix was
            interchanged with row IPIV(i).
            
anorm  Single
            If NORM = '1' or 'O', the 1-norm of the original matrix A.
            If NORM = 'I', the infinity-norm of the original matrix A.
            
rcond  Single
            The reciprocal of the condition number of the matrix A,
            computed as RCOND = 1/(norm(A) * norm(inv(A))).
            
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 / ( norm(A) * norm(inv(A)) ).
            

BandLUEstimateCondition(MatrixNorm, Int32, Int32, Int32, Array2D<Single>, Array1D<Int32>, Single, Single, Int32)

Estimates the reciprocal of the condition number of a real general band matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by DGBTRF.

C#
public override void BandLUEstimateCondition(
	MatrixNorm norm,
	int n,
	int kl,
	int ku,
	Array2D<float> ab,
	Array1D<int> ipiv,
	float anorm,
	out float rcond,
	out int info
)

Parameters

norm  MatrixNorm
            Specifies whether the 1-norm condition number or the
            infinity-norm condition number is required:
            = '1' or 'O':  1-norm;
            = 'I':         Infinity-norm.
            
n  Int32
            The order of the matrix A.  N >= 0.
            
kl  Int32
            The number of subdiagonals within the band of A.  KL >= 0.
            
ku  Int32
            The number of superdiagonals within the band of A.  KU >= 0.
            
ab  Array2D<Single>
            Dimension (LDAB,N)
            Details of the LU factorization of the band matrix A, as
            computed by DGBTRF.  U is stored as an upper triangular band
            matrix with KL+KU superdiagonals in rows 1 to KL+KU+1, and
            the multipliers used during the factorization are stored in
            rows KL+KU+2 to 2*KL+KU+1.
            
            The leading dimension of the array AB.  LDAB >= 2*KL+KU+1.
            
ipiv  Array1D<Int32>
            Dimension (N)
            The pivot indices; for 1 <= i <= N, row i of the matrix was
            interchanged with row IPIV(i).
            
anorm  Single
            If NORM = '1' or 'O', the 1-norm of the original matrix A.
            If NORM = 'I', the infinity-norm of the original matrix A.
            
rcond  Single
            The reciprocal of the condition number of the matrix A,
            computed as RCOND = 1/(norm(A) * norm(inv(A))).
            
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 / ( norm(A) * norm(inv(A)) ).
            

This method corresponds to the LAPACK routine DGBCON.

See Also