SRC/sladiv.f(3)

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

🌸 NAME 🌸

SRC/sladiv.f β€” bestie, this is the page from the Library Functions Manual, and it's all about SLADIV performing complex division in real arithmetic, avoiding unnecessary overflow. πŸ’–


✨ SYNOPSIS ✨

🫢 Functions/Subroutines 🫢

  • subroutine sladiv (a, b, c, d, p, q) β€” SLADIV performs complex division in real arithmetic, avoiding unnecessary overflow.
  • subroutine sladiv1 (a, b, c, d, p, q)
  • real function sladiv2 (a, b, c, d, r, t)

πŸ”₯ Function/Subroutine Documentation πŸ”₯

🌟 subroutine sladiv (real a, real b, real c, real d, real p, real q) 🌟

SLADIV performs complex division in real arithmetic, avoiding unnecessary overflow.

🎯 Purpose 🎯

The source comment is literally serving the whole formula, so here it is exactly:

!>
!> SLADIV performs complex division in  real arithmetic
!>
!>                       a + i*b
!>            p + i*q = ---------
!>                       c + i*d
!>
!> The algorithm is due to Michael Baudin and Robert L. Smith
!> and can be found in the paper
!>
!>

πŸ“ Parameters πŸ“

  • A β€” A is REAL.
  • B β€” B is REAL.
  • C β€” C is REAL.
  • D β€” D is REAL. The scalars a, b, c, and d in the above expression.
  • P β€” P is REAL.
  • Q β€” Q is REAL. The scalars p and q in the above expression.

πŸ‘‘ Author πŸ‘‘

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

Definition at line 90 of file sladiv.f.


πŸ¦‹ subroutine sladiv1 (real a, real b, real c, real d, real p, real q) πŸ¦‹

Definition at line 176 of file sladiv.f.


🧚 real function sladiv2 (real a, real b, real c, real d, real r, real t) 🧚

Definition at line 215 of file sladiv.f.


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for LAPACK from the source code.


Okay bestie, footer check: LAPACK, Version 3.12.0, SRC/sladiv.f(3) β€” and there's no separate date printed in this footer, so that's the whole vibe. Byeee, go divide some complex numbers πŸ’…βœ¨

πŸ“¦ where this page comes from