lasd4(3)

πŸ’– NAME πŸ’–

lasd4 β€” lasd4: D&C step: secular equation nonlinear solver ✨

This is the lasd4(3) page from the LAPACK Library Functions Manual, bestie 🫢. It's the divide-and-conquer step's secular-equation nonlinear solver, and there are two flavors: double precision (dlasd4) and single precision (slasd4) πŸ’….

πŸ¦‹ SYNOPSIS πŸ¦‹

Functions

  • subroutine dlasd4 (n, i, d, z, delta, rho, sigma, work, info) β€” DLASD4 computes the square root of the i-th updated eigenvalue of a positive symmetric rank-one modification to a positive diagonal matrix. Used by dbdsdc.
  • subroutine slasd4 (n, i, d, z, delta, rho, sigma, work, info) β€” SLASD4 computes the square root of the i-th updated eigenvalue of a positive symmetric rank-one modification to a positive diagonal matrix. Used by sbdsdc.

✨ DETAILED DESCRIPTION ✨

Okay so this is the detailed-description zone πŸŽ€. The source page rolls straight into the function docs from here β€” no extra side quests, just the two subroutines below.

πŸŽ€ FUNCTION DOCUMENTATION πŸŽ€

πŸ’œ dlasd4 πŸ’œ

Full signature, exactly as it appears:

subroutine dlasd4 (integer n, integer i, double precision, dimension( * ) d, double precision, dimension( * ) z, double precision, dimension( * ) delta, double precision rho, double precision sigma, double precision, dimension( * ) work, integer info)

DLASD4 computes the square root of the i-th updated eigenvalue of a positive symmetric rank-one modification to a positive diagonal matrix. Used by dbdsdc.

🌸 Purpose 🌸

Bestie, what this subroutine does is compute the square root of the I-th updated eigenvalue of a positive symmetric rank-one modification to a positive diagonal matrix. The diagonal entries are the squares of the matching entries in the array d, and the setup guarantees

0 <= D(i) < D(j)  for  i < j

plus RHO > 0. The calling routine arranges that, and it's no loss in generality. So the rank-one modified system is

diag( D ) * diag( D ) +  RHO * Z * Z_transpose.

with the Euclidean norm of Z assumed to be 1 πŸ¦‹.

The method? It approximates the rational functions in the secular equation with simpler interpolating rational functions. Iconic behavior, honestly πŸ’….

🧚 Parameters 🧚

  • N β€” N is INTEGER. The length of all arrays.
  • I β€” I is INTEGER. The index of the eigenvalue to be computed. 1 <= I <= N.
  • D β€” D is DOUBLE PRECISION array, dimension ( N ). The original eigenvalues. It is assumed that they are in order, 0 <= D(I) < D(J) for I < J.
  • Z β€” Z is DOUBLE PRECISION array, dimension ( N ). The components of the updating vector.
  • DELTA β€” DELTA is DOUBLE PRECISION array, dimension ( N ). If N .ne. 1, DELTA contains (D(j) - sigma_I) in its j-th component. If N = 1, then DELTA(1) = 1. The vector DELTA contains the information necessary to construct the (singular) eigenvectors.
  • RHO β€” RHO is DOUBLE PRECISION. The scalar in the symmetric updating formula.
  • SIGMA β€” SIGMA is DOUBLE PRECISION. The computed sigma_I, the I-th updated eigenvalue.
  • WORK β€” WORK is DOUBLE PRECISION array, dimension ( N ). If N .ne. 1, WORK contains (D(j) + sigma_I) in its j-th component. If N = 1, then WORK( 1 ) = 1.
  • INFO β€” INFO is INTEGER.
    • = 0: successful exit
    • > 0: if INFO = 1, the updating process failed.

πŸ¦‹ Internal Parameters πŸ¦‹

  • Logical variable ORGATI (origin-at-i?) is used for distinguishing whether D(i) or D(i+1) is treated as the origin.
    • ORGATI = .true. β€” origin at i
    • ORGATI = .false. β€” origin at i+1
  • Logical variable SWTCH3 (switch-for-3-poles?) is for noting if we are working with THREE poles!
  • MAXIT is the maximum number of iterations allowed for each eigenvalue.

πŸ‘‘ Author πŸ‘‘

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

🫢 Contributors 🫢

  • Ren-Cang Li, Computer Science Division, University of California at Berkeley, USA

Definition at line 152 of file dlasd4.f.


πŸ’œ slasd4 πŸ’œ

Full signature, exactly as it appears:

subroutine slasd4 (integer n, integer i, real, dimension( * ) d, real, dimension( * ) z, real, dimension( * ) delta, real rho, real sigma, real, dimension( * ) work, integer info)

SLASD4 computes the square root of the i-th updated eigenvalue of a positive symmetric rank-one modification to a positive diagonal matrix. Used by sbdsdc.

🌸 Purpose 🌸

Bestie, this one computes the square root of the I-th updated eigenvalue of a positive symmetric rank-one modification to a positive diagonal matrix. The diagonal entries are the squares of the matching entries in the array d, and the setup guarantees

0 <= D(i) < D(j)  for  i < j

plus RHO > 0. The calling routine arranges that, and it's no loss in generality. So the rank-one modified system is

diag( D ) * diag( D ) +  RHO * Z * Z_transpose.

with the Euclidean norm of Z assumed to be 1 πŸ¦‹.

The method? It approximates the rational functions in the secular equation with simpler interpolating rational functions. Iconic behavior, honestly πŸ’….

🧚 Parameters 🧚

  • N β€” N is INTEGER. The length of all arrays.
  • I β€” I is INTEGER. The index of the eigenvalue to be computed. 1 <= I <= N.
  • D β€” D is REAL array, dimension ( N ). The original eigenvalues. It is assumed that they are in order, 0 <= D(I) < D(J) for I < J.
  • Z β€” Z is REAL array, dimension ( N ). The components of the updating vector.
  • DELTA β€” DELTA is REAL array, dimension ( N ). If N .ne. 1, DELTA contains (D(j) - sigma_I) in its j-th component. If N = 1, then DELTA(1) = 1. The vector DELTA contains the information necessary to construct the (singular) eigenvectors.
  • RHO β€” RHO is REAL. The scalar in the symmetric updating formula.
  • SIGMA β€” SIGMA is REAL. The computed sigma_I, the I-th updated eigenvalue.
  • WORK β€” WORK is REAL array, dimension ( N ). If N .ne. 1, WORK contains (D(j) + sigma_I) in its j-th component. If N = 1, then WORK( 1 ) = 1.
  • INFO β€” INFO is INTEGER.
    • = 0: successful exit
    • > 0: if INFO = 1, the updating process failed.

πŸ¦‹ Internal Parameters πŸ¦‹

  • Logical variable ORGATI (origin-at-i?) is used for distinguishing whether D(i) or D(i+1) is treated as the origin.
    • ORGATI = .true. β€” origin at i
    • ORGATI = .false. β€” origin at i+1
  • Logical variable SWTCH3 (switch-for-3-poles?) is for noting if we are working with THREE poles!
  • MAXIT is the maximum number of iterations allowed for each eigenvalue.

πŸ‘‘ Author πŸ‘‘

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

🫢 Contributors 🫢

  • Ren-Cang Li, Computer Science Division, University of California at Berkeley, USA

Definition at line 152 of file slasd4.f.


🌈 AUTHOR 🌈

Generated automatically by Doxygen for LAPACK from the source code. πŸ’–


Cute sign-off time, bestie πŸŽ€: this footer belongs to LAPACK, LAPACK Version 3.12.0, manual page lasd4(3) β€” and the date slot is not listed in the original footer, so we're not inventing one. Periodt πŸ’…βœ¨

πŸ“¦ where this page comes from