SRC/zlacp2.f(3)

πŸ’œ SRC/zlacp2.f πŸ’œ

okay bestie, so this page is from the Library Functions Manual β€” it's the man page for SRC/zlacp2.f, and honestly? it's a little icon. it does exactly one thing and it does it flawlessly. no notes. 🫢


✨ NAME ✨

SRC/zlacp2.f β€” literally just the source file name, that's the whole name section, slay πŸ’…


🌸 SYNOPSIS 🌸

Functions/Subroutines

subroutine zlacp2 (uplo, m, n, a, lda, b, ldb)

ZLACP2 copies all or part of a real two-dimensional array to a complex array. that's it, that's the vibe check and it passed πŸ‘‘


πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

subroutine zlacp2 (character uplo, integer m, integer n, double precision,
    dimension( lda, * ) a, integer lda, complex*16, dimension( ldb, * ) b,
    integer ldb)

ZLACP2 copies all or part of a real two-dimensional array to a complex array.

πŸŽ€ Purpose:

!>
!> ZLACP2 copies all or part of a real two-dimensional matrix A to a
!> complex matrix B.
!>

so real matrix in, complex matrix out, no cap. literally the whole personality πŸ’–

⭐ 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 decides which part of A gets copied over to B, bestie. 'U' means the upper triangular part, 'L' means the lower triangular part, and anything else means all of the matrix A. main character energy: it's giving "you pick the slice" 🌈

  • 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 M >= 0 β€” respect the boundary, periodt ✨

  • 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 N >= 0. same energy, iconic πŸ’«

  • A
!>          A is DOUBLE PRECISION 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 DOUBLE PRECISION array with dimension (LDA,N) β€” the m by n matrix A. if UPLO = 'U' then only the upper trapezium is accessed, and if UPLO = 'L' then only the lower trapezium is accessed. it does not touch what it doesn't need to touch, we love a boundaries queen πŸ™ˆ

  • 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 satisfy LDA >= max(1,M). rules are rules πŸ’…

  • B
!>          B is COMPLEX*16 array, dimension (LDB,N)
!>          On exit, B = A in the locations specified by UPLO.
!>

B is a COMPLEX*16 array with dimension (LDB,N). on exit, B = A in the locations specified by UPLO. that's the glow-up, that's the transformation arc πŸ¦‹πŸ”₯

  • 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 it must satisfy LDB >= max(1,M). keep it consistent, keep it correct ✨

πŸ‘‘ Author

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

the whole squad really said "we made this" and honestly? they ate πŸ“

Definition at line 103 of file zlacp2.f. β€” line 103, remember it, iykyk ⭐


πŸ’« Author πŸ’«

Generated automatically by Doxygen for LAPACK from the source code. not a human typing this out, just Doxygen doing its little autopilot thing πŸ€–βœ¨


so yeah that's the whole page πŸ’œ huge thanks to the LAPACK squad β€” this is LAPACK Version 3.12.0, dated on the source page as SRC/zlacp2.f(3), and that's the tea πŸŽ€ go forth and copy your matrices, bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from