SRC/clacpy.f(3)
π SRC/clacpy.f β from the LAPACK Library Functions Manual
okay so bestie, gather round, because this little file is literally the blueprint for clacpy, and no cap it's the moment you've been waiting for π
β¨ NAME β¨
SRC/clacpy.f β girl, it's a Fortran source file in LAPACK and it's carrying the whole clacpy routine on its shoulders π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine clacpy (uplo, m, n, a, lda, b, ldb)β CLACPY copies all or part of one two-dimensional array to another.
π¦ Function/Subroutine Documentation π¦
subroutine clacpy (character uplo, integer m, integer n, complex, dimension(
lda, * ) a, integer lda, complex, dimension( ldb, * ) b, integer ldb)
CLACPY copies all or part of one two-dimensional array to another.
π«Ά Purpose:
!>
!> CLACPY copies all or part of a two-dimensional matrix A to another
!> matrix B.
!>
Like, that's it. That's the whole gig. She copies matrices. She's an icon, she's a legend, and she is the moment π
β Parameters β
UPLO
!> UPLO is CHARACTER*1
!> Specifies the part of the matrix A to be copied to B.
!> = 'U': Upper triangular part
!> = 'L': Lower triangular part
!> Otherwise: All of the matrix A
!>
so UPLO is a CHARACTER*1 and it's basically the vibe check for how much of A gets copied over to B π§ 'U' means upper triangular part, 'L' means lower triangular part, and literally anything else means all of the matrix A. main character behaviour fr fr.
M
!> M is INTEGER
!> The number of rows of the matrix A. M >= 0.
!>
M is INTEGER, it's the number of rows of matrix A, and it has to satisfy M >= 0. respect the boundary bestie π
N
!> N is INTEGER
!> The number of columns of the matrix A. N >= 0.
!>
N is INTEGER, the number of columns of matrix A, and again N >= 0. no negative vibes allowed π
A
!> A is COMPLEX array, dimension (LDA,N)
!> The m by n matrix A. If UPLO = 'U', only the upper trapezium
!> is accessed; if UPLO = 'L', only the lower trapezium is
!> accessed.
!>
A is a COMPLEX array, dimension (LDA,N) β she's the m by n matrix A, the source of truth π heads up though: if UPLO = 'U', only the upper trapezium is accessed; if UPLO = 'L', only the lower trapezium is accessed. the rest is just, like, not invited to the party π
LDA
!> LDA is INTEGER
!> The leading dimension of the array A. LDA >= max(1,M).
!>
LDA is INTEGER, the leading dimension of the array A, and it must be LDA >= max(1,M). periodt.
B
!> B is COMPLEX array, dimension (LDB,N)
!> On exit, B = A in the locations specified by UPLO.
!>
B is a COMPLEX array, dimension (LDB,N), and on exit you get B = A in the locations specified by UPLO. she ate and left no crumbs π₯
LDB
!> LDB is INTEGER
!> The leading dimension of the array B. LDB >= max(1,M).
!>
LDB is INTEGER, the leading dimension of the array B, and the rule is LDB >= max(1,M). same energy, different letter π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 102 of file clacpy.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. not a human, just a very diligent little robot doing her thing π€β¨
and that's the whole page bestie!! LAPACK, Version 3.12.0, SRC/clacpy.f(3) β mwah, go copy some matrices, you've got this ππ
π¦ 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