SRC/claset.f(3)
π NAME π
SRC/claset.f β okay bestie, this is the SRC/claset.f(3) page from the Library Functions Manual, and it's all about the claset subroutine. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine claset (uplo, m, n, alpha, beta, a, lda)
CLASET initializes the off-diagonal elements and the diagonal elements of a matrix to given values. Periodt. π«Ά
π¦ Function/Subroutine Documentation π¦
π subroutine claset (character uplo, integer m, integer n, complex alpha, complex beta, complex, dimension( lda, * ) a, integer lda) π
CLASET initializes the off-diagonal elements and the diagonal elements of a matrix to given values. Yes, same iconic line β it's literally the doc. β¨
π Purpose π
CLASET initializes a 2-D array A to BETA on the diagonal and ALPHA on the offdiagonals. No cap. β¨
π Parameters π
UPLOβ typeCHARACTER*1. Specifies the part of the matrixAthat gets set:= 'U': the upper triangular part is set. The lower triangle is unchanged.= 'L': the lower triangular part is set. The upper triangle is unchanged.- Otherwise: all of the matrix
Ais set. π
Mβ typeINTEGER. On entry,Mspecifies the number of rows ofA.Nβ typeINTEGER. On entry,Nspecifies the number of columns ofA.ALPHAβ typeCOMPLEX. All the offdiagonal array elements are set toALPHA.BETAβ typeCOMPLEX. All the diagonal array elements are set toBETA.Aβ typeCOMPLEX array, dimension (LDA,N). On entry, thembynmatrixA. 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β typeINTEGER. The leading dimension of the arrayA.LDA >= max(1,M). Respect the leading dimension, bestie. π«Ά
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 105 of file claset.f.
β Author β
Generated automatically by Doxygen for LAPACK from the source code.
And we're done, bestie: this page is from SRC/claset.f(3), LAPACK Version 3.12.0. The footer doesn't give us a date, so no invented date here β slay anyway. π
π¦ 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