SRC/sladiv.f(3)
πΈ 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βAisREAL.BβBisREAL.CβCisREAL.DβDisREAL. The scalarsa,b,c, anddin the above expression.PβPisREAL.QβQisREAL. The scalarspandqin 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
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms