SRC/clapll.f(3)

πŸŽ€ NAME

okay bestie, this is the SRC/clapll.f(3) page from the Library Functions Manual β€” and the file in question is SRC/clapll.f. Come for the tiny subroutine, stay for the linear-dependence tea. πŸ’…


πŸ’– SYNOPSIS

🌈 Functions/Subroutines

  • subroutine clapll (n, x, incx, y, incy, ssmin) β€” CLAPLL measures the linear dependence of two vectors. πŸ¦‹

πŸ”₯ Function/Subroutine Documentation

   subroutine clapll (integer n, complex, dimension( * ) x, integer incx,
       complex, dimension( * ) y, integer incy, real ssmin)

CLAPLL measures the linear dependence of two vectors. That's the whole vibe. 😌

🎯 Purpose

Given two column vectors X and Y, let

A = ( X Y ).

The subroutine first computes the QR factorization of A = Q*R, and then computes the SVD of the 2-by-2 upper triangular matrix R. The smaller singular value of R is returned in SSMIN, and that value is used as the measurement of the linear dependency of the vectors X and Y. periodt. ✨

🧾 Parameters

  • N β€” N is INTEGER. It's the length of the vectors X and Y. 🫢
  • X β€” X is COMPLEX array, dimension (1+(N-1)*INCX). On entry, X contains the N-vector X. On exit, X is overwritten. 😭
  • INCX β€” INCX is INTEGER. It's the increment between successive elements of X. INCX > 0. πŸ”₯
  • Y β€” Y is COMPLEX array, dimension (1+(N-1)*INCY). On entry, Y contains the N-vector Y. On exit, Y is overwritten. πŸ™ˆ
  • INCY β€” INCY is INTEGER. It's the increment between successive elements of Y. INCY > 0. πŸ”₯
  • SSMIN β€” SSMIN is REAL. It's the smallest singular value of the N-by-2 matrix A = ( X Y ). πŸ‘‘

πŸ‘‘ Author

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

Definition at line 99 of file clapll.f. 🧚


πŸ‘‘ Author

Generated automatically by Doxygen for LAPACK from the source code. πŸ€–βœ¨


okay bestie, that's the whole page β€” this icon is from LAPACK, Version 3.12.0, and it's the SRC/clapll.f(3) page. Go make those vectors behave. πŸ’–πŸŽ€

πŸ“¦ where this page comes from