ZLASET(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

🌸 NAME 🌸

Bestie, hi, welcome to the ZLASET(3) page from the Library Functions Manual ✨. The NAME section is just the source-file path, and it is exactly this:

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zlaset.f

That's the whole NAME moment. Iconic. πŸ’…

✨ SYNOPSIS ✨

πŸŽ€ Functions/Subroutines πŸŽ€

  • subroutine ZLASET (uplo, m, n, alpha, beta, a, lda) β€” ZLASET initializes the off-diagonal elements and the diagonal elements of a matrix to given values. No cap, that's the summary. 🫢

πŸ’– Function/Subroutine Documentation πŸ’–

The full signature is giving main-character energy, and it is verbatim:

subroutine ZLASET (character uplo, integer m, integer n, complex*16 alpha,
    complex*16 beta, complex*16, dimension( lda, * ) a, integer lda)

And the vibe check is still: ZLASET initializes the off-diagonal elements and the diagonal elements of a matrix to given values. Periodt. ✨

πŸ¦‹ Purpose: πŸ¦‹

Here's the source comment block, kept exact because it's code-comment code, iykyk:

!>
!> ZLASET initializes a 2-D array A to BETA on the diagonal and
!> ALPHA on the offdiagonals.
!>

Group-chat translation: diagonal elements go to BETA, off-diagonal elements go to ALPHA. That's the tea. πŸ“

πŸŽ€ Parameters πŸŽ€

  • UPLO β€” UPLO is CHARACTER*1. It specifies the part of the matrix A to be set. = 'U': the upper triangular part is set, and the lower triangle is unchanged. = 'L': the lower triangular part is set, and the upper triangle is unchanged. Otherwise: All of the matrix A is set. πŸ’–
  • M β€” M is INTEGER. On entry, M specifies the number of rows of A.
  • N β€” N is INTEGER. On entry, N specifies the number of columns of A.
  • ALPHA β€” ALPHA is COMPLEX*16. All the offdiagonal array elements are set to ALPHA.
  • BETA β€” BETA is COMPLEX*16. All the diagonal array elements are set to BETA.
  • A β€” A is COMPLEX*16 array, dimension (LDA,N). On entry, the m by n matrix A. On exit:
A(i,j) = ALPHA, 1 <= i <= m, 1 <= j <= n, i.ne.j;
A(i,i) = BETA , 1 <= i <= min(m,n)
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1,M).

🫢 Author 🫢

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

πŸ“Œ Definition at line 105 of file zlaset.f. πŸ“Œ

That's the exact line note, bestie. πŸ’œ

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code.

Cute sign-off: the footer says LAPACK Version 3.12.0 and the source path is /home/abui...RC/zlaset.f(3) β€” no date printed on this footer, so that's the version/source tea, bye bestie πŸ’œπŸ¦‹

πŸ“¦ where this page comes from