lacp2(3)

πŸ’… lacp2(3) β€” Library Functions Manual, bestie πŸ’…

okay so this is lacp2(3) from the Library Functions Manual, and it is literally the β€œcopy a real matrix into a complex matrix” moment. no cap, it's giving β€œsmall routine, big main character energy.” πŸ’–


🌸 NAME 🌸

  • lacp2 β€” lacp2: general matrix, convert real to complex

✨ SYNOPSIS ✨

Functions

subroutine clacp2 (uplo, m, n, a, lda, b, ldb)
subroutine zlacp2 (uplo, m, n, a, lda, b, ldb)
  • clacp2 β€” CLACP2 copies all or part of a real two-dimensional array to a complex array. πŸ’«
  • zlacp2 β€” ZLACP2 copies all or part of a real two-dimensional array to a complex array. πŸ’«

πŸ¦‹ Detailed Description πŸ¦‹

okay so the original page has a Detailed Description heading and then… nothing before Function Documentation. minimal. iconic. keeping it for structure. 🫢


πŸ’– Function Documentation πŸ’–

πŸŽ€ subroutine clacp2 πŸŽ€

subroutine clacp2 (character uplo, integer m, integer n, real, dimension(
       lda, * ) a, integer lda, complex, dimension( ldb, * ) b, integer ldb)

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

Purpose: the source comment says !> CLACP2 copies all or part of a real two-dimensional matrix A to a complex matrix B. (yes, with the !> markers doing their little Doxygen thing ✨)

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. πŸ‘‘
  • M β€” M is INTEGER. The number of rows of the matrix A. M >= 0.
  • N β€” N is INTEGER. The number of columns of the matrix A. N >= 0.
  • A β€” A is REAL 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. πŸ¦‹
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1,M).
  • B β€” B is COMPLEX array, dimension (LDB,N). On exit, B = A in the locations specified by UPLO.
  • LDB β€” LDB is INTEGER. The leading dimension of the array B. LDB >= max(1,M).

Author

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

Definition at line 103 of file clacp2.f. πŸ“Œ


πŸŽ€ subroutine zlacp2 πŸŽ€

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: the source comment says !> ZLACP2 copies all or part of a real two-dimensional matrix A to a complex matrix B. (same !> marker energy, same slay ✨)

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. πŸ‘‘
  • M β€” M is INTEGER. The number of rows of the matrix A. M >= 0.
  • N β€” N is INTEGER. The number of columns of the matrix A. N >= 0.
  • 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. πŸ¦‹
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1,M).
  • B β€” B is COMPLEX*16 array, dimension (LDB,N). On exit, B = A in the locations specified by UPLO.
  • LDB β€” LDB is INTEGER. The leading dimension of the array B. LDB >= max(1,M).

Author

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

Definition at line 103 of file zlacp2.f. πŸ“Œ


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code.


xoxo bestie πŸ’– this whole page is from LAPACK, Version 3.12.0, and the manual is lacp2(3) β€” bye, love you, go copy those matrices responsibly πŸ¦‹πŸŽ€πŸ’…

πŸ“¦ where this page comes from