SRC/dla_porcond.f(3)

πŸ’– NAME πŸ’–

okay so bestie, this is the Library Functions Manual page for SRC/dla_porcond.f β€” yes, the whole page is literally named after the file, and it's serving serious LAPACK main-character energy. πŸŽ€

✨ SYNOPSIS ✨

Functions/Subroutines

  • double precision function dla_porcond (uplo, n, a, lda, af, ldaf, cmode, c, info, work, iwork) β€” DLA_PORCOND estimates the Skeel condition number for a symmetric positive-definite matrix. no cap, that's the whole vibe. πŸ’…

πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

double precision function dla_porcond (character uplo, integer n, double
    precision, dimension( lda, * ) a, integer lda, double precision,
    dimension( ldaf, * ) af, integer ldaf, integer cmode, double precision,
    dimension( * ) c, integer info, double precision, dimension( * ) work,
    integer, dimension( * ) iwork)

DLA_PORCOND estimates the Skeel condition number for a symmetric positive-definite matrix. it's giving numerical linear algebra but make it cute. 🧚

πŸŽ€ Purpose πŸŽ€

okay so here's the tea: DLA_PORCOND estimates the Skeel condition number of op(A) * op2(C), where op2 is determined by CMODE like this:

CMODE =  1    op2(C) = C
CMODE =  0    op2(C) = I
CMODE = -1    op2(C) = inv(C)

the Skeel condition number is literally:

cond(A) = norminf( |inv(A)||A| )

and it's computed by computing scaling factors R such that diag(R)*A*op2(C) is row equilibrated, then computing the standard infinity-norm condition number. highkey iconic. ✨

🌸 Parameters 🌸

  • UPLO β€” UPLO is CHARACTER*1. = 'U': Upper triangle of A is stored; = 'L': Lower triangle of A is stored. bestie, pick a triangle, any triangle. 🫢
  • N β€” N is INTEGER. The number of linear equations, i.e., the order of the matrix A. N >= 0. math said be non-negative. πŸ’€
  • A β€” A is DOUBLE PRECISION array, dimension (LDA,N). On entry, the N-by-N matrix A. the main character matrix fr fr. πŸ‘‘
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1,N). respect the leading dimension. πŸ’…
  • AF β€” AF is DOUBLE PRECISION array, dimension (LDAF,N). The triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T, as computed by DPOTRF. slay, Cholesky ate. πŸ”₯
  • LDAF β€” LDAF is INTEGER. The leading dimension of the array AF. LDAF >= max(1,N). another leading dimension check, periodt. ✨
  • CMODE β€” CMODE is INTEGER. Determines op2(C) in the formula op(A) * op2(C) as follows: CMODE = 1 β†’ op2(C) = C; CMODE = 0 β†’ op2(C) = I; CMODE = -1 β†’ op2(C) = inv(C). pick your op2 era. πŸ¦‹
  • C β€” C is DOUBLE PRECISION array, dimension (N). The vector C in the formula op(A) * op2(C). the C vector is lowkey doing bits. πŸ“
  • INFO β€” INFO is INTEGER. = 0: Successful exit. i > 0: The ith argument is invalid. bestie, if INFO is not zero, something is giving invalid argument energy. 😭
  • WORK β€” WORK is DOUBLE PRECISION array, dimension (3*N). Workspace. it works so the function can work. πŸ’œ
  • IWORK β€” IWORK is INTEGER array, dimension (N). Workspace. integer workspace, we love to see it. πŸŽ€

πŸ’– Author πŸ’–

shoutout to the author icons:

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Definition at line 139 of file dla_porcond.f.

🫢 Author 🫢

Generated automatically by Doxygen for LAPACK from the source code. not me being auto-generated and still serving looks. πŸ’…βœ¨


mwah πŸ’‹ β€” this cutie page is from LAPACK Version 3.12.0, and the footer tag says SRC/dla_porcond.f(3). periodt. πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from