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. IfUPLO = 'U', only the upper trapezium is accessed; ifUPLO = '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 = Ain the locations specified byUPLO.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. IfUPLO = 'U', only the upper trapezium is accessed; ifUPLO = '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 = Ain the locations specified byUPLO.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
- 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