SLATTP(3)

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

πŸ’– SLATTP(3) πŸ’–

From the LAPACK Library Functions Manual. Header path: /home/abui...IN/slattp.f(3). Okay bestie, let’s get into the triangular test-matrix tea. β˜•βœ¨


πŸŽ€ NAME πŸŽ€

The source file is /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/slattp.f.


✨ SYNOPSIS ✨

🧚 Functions/Subroutines 🧚

Here’s the callable vibe:

subroutine SLATTP (imat, uplo, trans, diag, iseed, n, a, b, work, info)

And the routine is literally named SLATTP.


πŸ‘‘ Function/Subroutine Documentation πŸ‘‘

🌸 subroutine SLATTP 🌸

Full signature, character-for-character:

subroutine SLATTP (integer imat, character uplo, character trans, character diag, integer, dimension( 4 ) iseed, integer n, real, dimension( * ) a, real, dimension( * ) b, real, dimension( * ) work, integer info)

SLATTP

πŸ¦‹ Purpose:

Okay so SLATTP is the icon that generates a triangular test matrix in packed storage. The combo of IMAT and UPLO uniquely specifies the properties of that test matrix, and it comes back to you in the array AP. πŸ’…

πŸ’… Parameters πŸ’…

  • IMAT β€” INTEGER. An integer key describing which matrix to generate for this path. πŸ”‘
  • UPLO β€” CHARACTER*1. Specifies whether the matrix A will be upper or lower triangular.
    • = 'U': Upper triangular
    • = 'L': Lower triangular
  • TRANS β€” CHARACTER*1. Specifies whether the matrix or its transpose will be used.
    • = 'N': No transpose
    • = 'T': Transpose
    • = 'C': Conjugate transpose (= Transpose)
  • DIAG β€” CHARACTER*1. Specifies whether or not the matrix A is unit triangular.
    • = 'N': Non-unit triangular
    • = 'U': Unit triangular
  • ISEED β€” INTEGER array, dimension (4). The seed vector for the random number generator (used in SLATMS). Modified on exit. 🎲
  • N β€” INTEGER. The order of the matrix to be generated.
  • A β€” REAL array, dimension (N*(N+1)/2). The upper or lower triangular matrix A, packed columnwise in a linear array. The j-th column of A is stored in the array AP as follows:
if UPLO = 'U', AP((j-1)*j/2 + i) = A(i,j) for 1<=i<=j;
if UPLO = 'L',
   AP((j-1)*(n-j) + j*(j+1)/2 + i-j) = A(i,j) for j<=i<=n.
  • B β€” REAL array, dimension (N). The right hand side vector, if IMAT > 10.
  • WORK β€” REAL array, dimension (3*N).
  • INFO β€” INTEGER.
    • = 0: successful exit
    • < 0: if INFO = -k, the k-th argument had an illegal value

🌸 Author 🌸

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

Definition at line 123 of file slattp.f.


🫢 Author 🫢

Generated automatically by Doxygen for LAPACK from the source code.


Cute sign-off: this page is from LAPACK Version 3.12.0, footer source path /home/abui...IN/slattp.f(3), and the footer doesn’t list a date, so no date to give you, bestie. πŸ’–

πŸ“¦ where this page comes from