TESTING/LIN/zsyt02.f(3)

πŸ“¦
version 3.12.1 Β· 3 versions
, in arch rolling

πŸŽ€ NAME πŸŽ€

Bestie, this is the manual page for TESTING/LIN/zsyt02.f πŸ’– The actual function inside is zsyt02, and it's giving β€œtiny testing helper with main character energy,” no cap.


✨ SYNOPSIS ✨

🧸 Functions/Subroutines 🧸

This page documents exactly one subroutine, and here's the signature lineup, copied fresh:

subroutine zsyt02 (uplo, n, nrhs, a, lda, x, ldx, b, ldb, rwork, resid)
    ZSYT02

The all-caps name is ZSYT02, iykyk πŸ‘‘


🧚 Function/Subroutine Documentation 🧚

Here's the full documented signature, character-for-character so nobody's fave argument gets lost:

subroutine zsyt02 (character uplo, integer n, integer nrhs, complex*16,
     dimension( lda, * ) a, integer lda, complex*16, dimension( ldx, * ) x,
     integer ldx, complex*16, dimension( ldb, * ) b, integer ldb, double
     precision, dimension( * ) rwork, double precision resid)
    ZSYT02

And the routine name is ZSYT02 again β€” consistent queen ✨

🌸 Purpose 🌸

ZSYT02 computes the residual for a solution to a complex symmetric system of linear equations A*x = b:

RESID = norm(B - A*X) / ( norm(A) * norm(X) * EPS ),

where EPS is the machine epsilon. That's the formula, untouched, periodt πŸ’…

πŸ’œ Parameters πŸ’œ

UPLO

UPLO is CHARACTER*1. It specifies whether the upper or lower triangular part of the symmetric matrix A is stored:

  • = 'U': upper triangular
  • = 'L': lower triangular

N

N is INTEGER. It's the number of rows and columns of the matrix A. N >= 0.

NRHS

NRHS is INTEGER. It's the number of columns of B, the matrix of right hand sides. NRHS >= 0.

A

A is COMPLEX*16 array, dimension (LDA,N). It's the original complex symmetric matrix A.

LDA

LDA is INTEGER. It's the leading dimension of the array A. LDA >= max(1,N)

X

X is COMPLEX*16 array, dimension (LDX,NRHS). These are the computed solution vectors for the system of linear equations.

LDX

LDX is INTEGER. It's the leading dimension of the array X. LDX >= max(1,N).

B

B is COMPLEX*16 array, dimension (LDB,NRHS). On entry, these are the right hand side vectors for the system of linear equations. On exit, B is overwritten with the difference B - A*X.

LDB

LDB is INTEGER. It's the leading dimension of the array B. LDB >= max(1,N).

RWORK

RWORK is DOUBLE PRECISION array, dimension (N) 🫢

RESID

RESID is DOUBLE PRECISION. It's the maximum over the number of right hand sides of norm(B - A*X) / ( norm(A) * norm(X) * EPS ).

πŸ‘‘ Author πŸ‘‘

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

Definition at line 125 of file zsyt02.f.

πŸ’– Author πŸ’–

Generated automatically by Doxygen for LAPACK from the source code.


Okay that's the whole vibe check, bestie πŸ’… The footer energy is LAPACK Version 3.12.0, and the page tag is TESTING/LIN/zsyt02.f(3). The date field is literally not printed on this footer, so I'm not inventing one β€” periodt πŸŽ€βœ¨

πŸ“¦ where this page comes from