LA_PORCONDX - LA_PORCONDX - 6.0 English - 68552

AOCL API Guide (68552)

Document_ID
68552
Release_Date
2026-11-10
Version
6.0 English
template<typename T, typename Ta>
Ta la_porcond_x(char *uplo, integer *n, T *a, integer *lda, T *af, integer *ldaf, T *x, integer *info, T *work, Ta *rwork)#

LA_PORCOND_X computes the infinity norm condition number of op(A)*diag(x) for Hermitian positive-definite matrices.

Purpose:

   LA_PORCOND_X Computes the infinity norm condition number of
   op(A) * diag(X) where X is a COMPLEX vector.
Parameters:
  • UPLO – [in]

    UPLO is CHARACTER*1

    = ‘U’: Upper triangle of A is stored;

    = ‘L’: Lower triangle of A is stored.
  • N – [in]

    N is INTEGER

    The number of linear equations, i.e., the order of the matrix A. N >= 0.

  • A – [in]

    A is COMPLEX array, dimension (LDA,N)

    On entry, the N-by-N matrix A.

  • LDA – [in]

    LDA is INTEGER

    The leading dimension of the array A. LDA >= fla_max(1,N).

  • AF – [in]

    AF is COMPLEX array, dimension (LDAF,N)

    The triangular factor U or L from the Cholesky factorization A = U**H*U or A = L*L**H, as computed by CPOTRF.

  • LDAF – [in]

    LDAF is INTEGER

    The leading dimension of the array AF. LDAF >= fla_max(1,N).

  • X – [in]

    X is COMPLEX array, dimension (N)

    The vector X in the formula op(A) * diag(X).

  • INFO – [out]

    INFO is INTEGER

    = 0: Successful exit.

    i > 0: The ith argument is invalid.
  • WORK – [out]

    WORK is COMPLEX array, dimension (2*N).

    Workspace.

  • RWORK – [out]

    RWORK is REAL array, dimension (N).

    Workspace.