SRC/slamrg.f(3)
π
SRC/slamrg.f(3) π
okay bestie, welcome to this page from the Library Functions Manual β it's giving LAPACK documentation energy, and we're here for it. This page is literally all about SRC/slamrg.f, so let's get into it. π
β¨ NAME β¨
SRC/slamrg.f β that's the page name, no cap. π
π SYNOPSIS π
π§ Functions/Subroutines π§
subroutine slamrg (n1, n2, a, strd1, strd2, index)
SLAMRG 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 π
subroutine slamrg (integer n1, integer n2, real, dimension( * ) a, integer strd1, integer strd2, integer, dimension( * ) index)
SLAMRG creates a permutation list to merge the entries of two independently sorted sets into a single set sorted in ascending order. yes, again β because it's that iconic. β¨
π Purpose
SLAMRG 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, and it ate. π₯
π Parameters
N1βN1 is INTEGER.N2βN2 is INTEGER. These arguments contain the respective lengths of the two sorted lists to be merged.AβA is REAL array, dimension (N1+N2). The firstN1elements ofAcontain a list of numbers which are sorted in either ascending or descending order. Likewise for the finalN2elements.STRD1βSTRD1 is INTEGER.STRD2βSTRD2 is INTEGER. These are the strides to be taken through the arrayA. Allowable strides are1and-1. They indicate whether a subset ofAis sorted in ascending (STRDx = 1) or descending (STRDx = -1) order.INDEXβINDEX is INTEGER array, 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.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 98 of file slamrg.f.
πΈ Author πΈ
Generated automatically by Doxygen for LAPACK from the source code.
that's the page, bestie β source/version: LAPACK Version 3.12.0, file SRC/slamrg.f(3). mwah πβ¨
π¦ 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