CSPT01(3)

๐Ÿ“ฆ version 3.12.0, in opensuse-leap 16.0

๐Ÿ’– CSPT01(3) ๐Ÿ’–

okay bestie, welcome to the Library Functions Manual corner of the group chat. Header vibes: CSPT01(3), path /home/abui...IN/cspt01.f(3). Todayโ€™s main character is CSPT01, a LAPACK testing subroutine that reconstructs stuff and checks the residual. No cap, itโ€™s very โ€œtrust but verifyโ€ energy. โœจ

โœจ NAME โœจ

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cspt01.f โ€” thatโ€™s the file, and CSPT01 is the subroutine living in it. Main character energy fr fr. ๐Ÿ’…

๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

๐Ÿงš Functions/Subroutines ๐Ÿงš

subroutine CSPT01 (uplo, n, a, afac, ipiv, c, ldc, rwork, resid)
    CSPT01

๐Ÿ’… Function/Subroutine Documentation ๐Ÿ’…

subroutine CSPT01 (character uplo, integer n, complex, dimension( * ) a,
    complex, dimension( * ) afac, integer, dimension( * ) ipiv, complex,
    dimension( ldc, * ) c, integer ldc, real, dimension( * ) rwork, real
    resid)

CSPT01

๐ŸŽ€ Purpose ๐ŸŽ€

Okay so CSPT01 reconstructs a symmetric indefinite packed matrix A from its diagonal pivoting factorization A = U*D*U' or A = L*D*L', then computes the residual:

norm( C - A ) / ( N * norm(A) * EPS ),

where C is the reconstructed matrix and EPS is the machine epsilon. Itโ€™s giving โ€œput it back together and check the mathโ€ realness. ๐Ÿ’–

๐ŸŒธ Parameters ๐ŸŒธ

๐Ÿ”ค UPLO

  • UPLO is CHARACTER*1 โ€” specifies whether the upper or lower triangular part of the Hermitian matrix A is stored:
    • = 'U': Upper triangular
    • = 'L': Lower triangular

๐Ÿ”ข N

  • N is INTEGER โ€” the order of the matrix A. N >= 0.

๐Ÿงฉ A

  • A is COMPLEX array, dimension (N*(N+1)/2) โ€” the original symmetric matrix A, stored as a packed triangular matrix.

๐Ÿ—‚๏ธ AFAC

  • AFAC is COMPLEX array, dimension (N*(N+1)/2) โ€” the factored form of the matrix A, stored as a packed triangular matrix. AFAC contains the block diagonal matrix D and the multipliers used to obtain the factor L or U from the L*D*L' or U*D*U' factorization as computed by CSPTRF.

๐Ÿ“Œ IPIV

  • IPIV is INTEGER array, dimension (N) โ€” the pivot indices from CSPTRF.

๐Ÿงฎ C

  • C is COMPLEX array, dimension (LDC,N) โ€” thatโ€™s the whole spec, bestie.

๐Ÿ“ LDC

  • LDC is INTEGER โ€” the leading dimension of the array C. LDC >= max(1,N).

๐Ÿงบ RWORK

  • RWORK is REAL array, dimension (N) โ€” yes, thatโ€™s all the original gives us.

๐ŸŽฏ RESID

  • RESID is REAL โ€” if UPLO = 'L', itโ€™s norm(L*D*L' - A) / ( N * norm(A) * EPS ); if UPLO = 'U', itโ€™s norm(U*D*U' - A) / ( N * norm(A) * EPS ).

๐Ÿ‘‘ Author ๐Ÿ‘‘

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

๐Ÿ“ Definition ๐Ÿ“

Definition at line 111 of file cspt01.f.

๐Ÿ’ซ Author ๐Ÿ’ซ

Generated automatically by Doxygen for LAPACK from the source code.


๐Ÿ’– Thatโ€™s the whole page, bestie. Source/version energy: LAPACK Version 3.12.0, footer path /home/abui...IN/cspt01.f(3). The footer doesnโ€™t give a separate date to shout out, so Iโ€™m not inventing one โ€” periodt. ๐Ÿซถ

๐Ÿ“ฆ where this page comes from