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