ZLASET(3)
πΈ 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
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms