DLAMRG(3)
This is the dlamrg.f(3) page from the Library Functions Manual โ welcome to the group chat, bestie ๐
๐ NAME ๐
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlamrg.f โ that's the file this page is documenting, periodt.
โจ SYNOPSIS โจ
๐งฉ Functions/Subroutines ๐งฉ
subroutine DLAMRG (n1, n2, a, dtrd1, dtrd2, index)โ DLAMRG creates a permutation list to merge the entries of two independently sorted sets into a single set sorted in ascending order. Slay.
๐ Function/Subroutine Documentation ๐
๐ ๏ธ The DLAMRG subroutine ๐ ๏ธ
subroutine DLAMRG (integer n1, integer n2, double precision, dimension( * ) a, integer dtrd1, integer dtrd2, integer, dimension( * ) index)
DLAMRG creates a permutation list to merge the entries of two independently sorted sets into a single set sorted in ascending order. Iconic behavior, honestly.
๐ฏ Purpose ๐ฏ
DLAMRG will create a permutation list which will merge the elements of A (which is composed of two independently sorted sets) into a single set which is sorted in ascending order. That's the whole assignment, bestie ๐ซถ
๐งฎ Parameters ๐งฎ
N1โN1isINTEGER.N2โN2isINTEGER. These arguments contain the respective lengths of the two sorted lists to be merged.AโAisDOUBLE PRECISIONarray, dimension(N1+N2). The firstN1elements ofAcontain a list of numbers which are sorted in either ascending or descending order. Likewise for the finalN2elements.DTRD1โDTRD1isINTEGER.DTRD2โDTRD2isINTEGER. These are the strides to be taken through the arrayA. Allowable strides are1and-1. They indicate whether a subset ofAis sorted in ascending (DTRDx = 1) or descending (DTRDx = -1) order. Only1and-1, okay?INDEXโINDEXisINTEGERarray, dimension(N1+N2). On exit this array will contain a permutation such that ifB( I ) = A( INDEX( I ) )forI=1,N1+N2, thenBwill be sorted in ascending order. the glow-up is real ๐
โ๏ธ Author โ๏ธ
The author squad is:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 98 of file dlamrg.f.
๐ค Author ๐ค
Generated automatically by Doxygen for LAPACK from the source code.
okay bye bestie ๐ โ footer source/version vibes: LAPACK Version 3.12.0, page path /home/abui...RC/dlamrg.f(3). ๐
๐ฆ 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