SRC/clacp2.f(3)

πŸ’– SRC/clacp2.f

okay so bestie, welcome to the Library Functions Manual page for SRC/clacp2.f β€” this one is short, sweet, and very much β€œcopy-paste but make it complex numbers” πŸ’… no cap.


🌸 NAME

SRC/clacp2.f


✨ SYNOPSIS

🫢 Functions/Subroutines

subroutine clacp2 (uplo, m, n, a, lda, b, ldb)
    CLACP2 copies all or part of a real two-dimensional array to a
    complex array.

πŸ¦‹ Function/Subroutine 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. That’s the whole vibe. πŸŽ€

🎯 Purpose

CLACP2 copies all or part of a real two-dimensional matrix A to a complex matrix B. 😌✨


🌈 Parameters

πŸ’œ UPLO

UPLO is CHARACTER*1.

It specifies the part of matrix A that gets copied to B, bestie:

  • 'U' β€” Upper triangular part
  • 'L' β€” Lower triangular part
  • Otherwise β€” All of the matrix A

πŸ“ M

M is INTEGER.

It’s the number of rows of the matrix A. And the rule is M >= 0. periodt.

🧚 N

N is INTEGER.

It’s the number of columns of the matrix A. And the rule is N >= 0. slay.

🌸 A

A is a REAL array, dimension (LDA,N).

It’s the m by n matrix A. If UPLO = 'U', only the upper trapezium is accessed; if UPLO = 'L', only the lower trapezium is accessed. iconic behavior, honestly.

πŸ¦‹ LDA

LDA is INTEGER.

It’s the leading dimension of the array A. And it must satisfy LDA >= max(1,M). 🫢

πŸ’– B

B is a COMPLEX array, dimension (LDB,N).

On exit, B = A in the locations specified by UPLO. literally the glow-up. ✨

πŸ‘‘

LDB is INTEGER.

It’s the leading dimension of the array B. And it must satisfy LDB >= max(1,M). no cap.


πŸ‘‘ Author

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

Definition at line 103 of file clacp2.f.


πŸ‘‘ Author

Generated automatically by Doxygen for LAPACK from the source code. πŸ€–πŸ’…


okay bestie, that’s the whole page β€” catch you later with source/version energy: LAPACK Version 3.12.0 and SRC/clacp2.f(3). mwah πŸŽ€πŸ’œ
πŸ“¦ where this page comes from