DLASET(3)
π DLASET(3) π
Okay bestie, this is the LAPACK Library Functions Manual page for DLASET(3), and itβs filed under /home/abui...RC/dlaset.f(3). Slay. β¨
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlaset.f β thatβs the source file, no cap. This is the DLASET(3) manpage, and itβs about the DLASET subroutine. π«Ά
β¨ SYNOPSIS β¨
π Functions/Subroutines
subroutine DLASET (uplo, m, n, alpha, beta, a, lda)
DLASET initializes the off-diagonal elements and the diagonal elements of a matrix to given values. Iconic behavior, honestly. π
π Function/Subroutine Documentation π
subroutine DLASET (character uplo, integer m, integer n, double precision
alpha, double precision beta, double precision, dimension( lda, * ) a,
integer lda)
DLASET initializes the off-diagonal elements and the diagonal elements of a matrix to given values. Yes, bestie, itβs literally the same glow-up description. π
π¦ Purpose
The source says it like this:
!>
!> DLASET initializes an m-by-n matrix A to BETA on the diagonal and
!> ALPHA on the offdiagonals.
!>
So: diagonal gets BETA, off-diagonals get ALPHA. Main character matrix energy. β¨
π§ Parameters
UPLOβ typeCHARACTER*1. It tellsDLASETwhich part of matrixAto set:= 'U': the upper triangular part is set; the strictly lower triangular part ofAis not changed.= 'L': the lower triangular part is set; the strictly upper triangular part ofAis not changed.- Otherwise: all of the matrix
Ais set.
Mβ typeINTEGER. The number of rows of matrixA. Constraint:M >= 0.Nβ typeINTEGER. The number of columns of matrixA. Constraint:N >= 0.ALPHAβ typeDOUBLE PRECISION. The constant to which the off-diagonal elements are to be set.BETAβ typeDOUBLE PRECISION. The constant to which the diagonal elements are to be set.Aβ typeDOUBLE PRECISION array, dimension (LDA,N). On exit, the leadingm-by-nsubmatrix ofAis set as follows:
if UPLO = 'U', A(i,j) = ALPHA, 1<=i<=j-1, 1<=j<=n,
if UPLO = 'L', A(i,j) = ALPHA, j+1<=i<=m, 1<=j<=n,
otherwise, A(i,j) = ALPHA, 1<=i<=m, 1<=j<=n, i.ne.j,
and, for all UPLO, A(i,i) = BETA, 1<=i<=min(m,n).
LDAβ typeINTEGER. The leading dimension of the arrayA. Constraint:LDA >= max(1,M).
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 109 of file dlaset.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Bye bestie! π«Ά This page is from LAPACK, Version 3.12.0, and the file path is /home/abui...RC/dlaset.f(3). Periodt. π
β¨
π¦ 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