DLASET(3)

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

πŸ’– 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 β€” type CHARACTER*1. It tells DLASET which part of matrix A to set:
    • = 'U': the upper triangular part is set; the strictly lower triangular part of A is not changed.
    • = 'L': the lower triangular part is set; the strictly upper triangular part of A is not changed.
    • Otherwise: all of the matrix A is set.
  • M β€” type INTEGER. The number of rows of matrix A. Constraint: M >= 0.
  • N β€” type INTEGER. The number of columns of matrix A. Constraint: N >= 0.
  • ALPHA β€” type DOUBLE PRECISION. The constant to which the off-diagonal elements are to be set.
  • BETA β€” type DOUBLE PRECISION. The constant to which the diagonal elements are to be set.
  • A β€” type DOUBLE PRECISION array, dimension (LDA,N). On exit, the leading m-by-n submatrix of A is 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 β€” type INTEGER. The leading dimension of the array A. 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