DLASRT(3)
okay bestie, welcome to DLASRT(3) from the Library Functions Manual π
this is the page for the routine that sorts numbers, and yes itβs giving main character energy.
πΈ NAME πΈ
this page is literally about /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlasrt.f β thatβs the whole NAME section, no cap.
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine DLASRT (id, n, d, info)βDLASRTsorts numbers in increasing or decreasing order. slay.
π Function/Subroutine Documentation π
subroutine DLASRT (character id, integer n, double precision, dimension( * )
d, integer info)
DLASRT sorts numbers in increasing or decreasing order. periodt.
π Purpose π
so the whole point, bestie: sort the numbers in D in increasing order if ID = 'I', or in decreasing order if ID = 'D'. it uses Quick Sort, but reverting to Insertion sort on arrays of size <= 20. also, heads up: the dimension of STACK limits N to about 2**32. thatβs the vibe.
π Parameters π
π¦ ID π¦
ID is CHARACTER*1.
= 'I': sortDin increasing order;= 'D': sortDin decreasing order.
π¦ N π¦
N is INTEGER. itβs the length of the array D.
π¦ D π¦
D is DOUBLE PRECISION array, dimension (N).
on entry, itβs the array to be sorted. on exit, D has been sorted into increasing order (D(1) <= ... <= D(N) ) or into decreasing order (D(1) >= ... >= D(N) ), depending on ID.
π¦ INFO π¦
INFO is INTEGER.
= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 87 of file dlasrt.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
mwah π β this page is from LAPACK, Version 3.12.0, and the footer path /home/abui...RC/dlasrt.f(3). no date on the footer, bestie, so thatβs the whole cute sign-off. π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms