larmm(3)

okay bestie, this is larmm(3) from the Library Functions Manual β€” yes, the manual name is literally β€œLibrary Functions Manual,” and this page is about larmm. It’s giving tiny-but-useful auxiliary-routine energy πŸ’…βœ¨.

πŸ’– NAME πŸ’–

larmm β€” larmm: scale factor to avoid overflow, step in latrs.

✨ SYNOPSIS ✨

πŸ¦‹ Functions πŸ¦‹

  • double precision function dlarmm (anorm, bnorm, cnorm) β€” DLARMM
  • real function slarmm (anorm, bnorm, cnorm) β€” SLARMM

🌈 DETAILED DESCRIPTION 🌈

This page is all about larmm, and the detailed function docs are right below. There are two versions: a double precision one and a real one. It’s auxiliary-routine core, so there’s no argument checking β€” the source says it, not me 😭.

πŸ”₯ FUNCTION DOCUMENTATION πŸ”₯

πŸ’« DLARMM πŸ’«

       double precision function dlarmm (double precision anorm, double precision
       bnorm, double precision cnorm)

DLARMM

Purpose:

           !>
           !> DLARMM returns a factor s in (0, 1] such that the linear updates
           !>
           !>    (s * C) - A * (s * B)  and  (s * C) - (s * A) * B
           !>
           !> cannot overflow, where A, B, and C are matrices of conforming
           !> dimensions.
           !>
           !> This is an auxiliary routine so there is no argument checking.
           !>

So s lands in (0, 1], and those two linear updates cannot overflow. Iconic. 🫢

πŸ“ Parameters πŸ“

ANORM

           !>          ANORM is DOUBLE PRECISION
           !>          The infinity norm of A. ANORM >= 0.
           !>          The number of rows of the matrix A.  M >= 0.
           !>

BNORM

           !>          BNORM is DOUBLE PRECISION
           !>          The infinity norm of B. BNORM >= 0.
           !>

CNORM

           !>          CNORM is DOUBLE PRECISION
           !>          The infinity norm of C. CNORM >= 0.
           !>

References: C. C. Kjelgaard Mikkelsen and L. Karlsson, Blocked Algorithms for Robust Solution of Triangular Linear Systems. In: International Conference on Parallel Processing and Applied Mathematics, pages 68--78. Springer, 2017.

Definition at line 60 of file dlarmm.f.

πŸ’« SLARMM πŸ’«

       real function slarmm (real anorm, real bnorm, real cnorm)

SLARMM

Purpose:

           !>
           !> SLARMM returns a factor s in (0, 1] such that the linear updates
           !>
           !>    (s * C) - A * (s * B)  and  (s * C) - (s * A) * B
           !>
           !> cannot overflow, where A, B, and C are matrices of conforming
           !> dimensions.
           !>
           !> This is an auxiliary routine so there is no argument checking.
           !>

Same energy, real precision edition: s is in (0, 1], and the updates can’t overflow. Slay. πŸ’…

πŸ“ Parameters πŸ“

ANORM

           !>          ANORM is REAL
           !>          The infinity norm of A. ANORM >= 0.
           !>          The number of rows of the matrix A.  M >= 0.
           !>

BNORM

           !>          BNORM is REAL
           !>          The infinity norm of B. BNORM >= 0.
           !>

CNORM

           !>          CNORM is REAL
           !>          The infinity norm of C. CNORM >= 0.
           !>

References: C. C. Kjelgaard Mikkelsen and L. Karlsson, Blocked Algorithms for Robust Solution of Triangular Linear Systems. In: International Conference on Parallel Processing and Applied Mathematics, pages 68--78. Springer, 2017.

Definition at line 60 of file slarmm.f.

πŸ’– AUTHOR πŸ’–

Generated automatically by Doxygen for LAPACK from the source code.


okay that’s the whole page, bestie 🫢. Footer sign-off: LAPACK, Version 3.12.0, and larmm(3) β€” that’s the source/version and page tag, and the date slot is giving empty on this one, so don’t come for me πŸ’…βœ¨.

πŸ“¦ where this page comes from