DTRMV(3)

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

πŸ’… DTRMV (3) β€” bestie edition πŸ¦‹

ok so this page is literally about /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/dtrmv.f and honestly? she's iconic. LAPACK 3.12.0 energy, BLAS Level 2, the whole vibe. let's get into it ✨


✨ SYNOPSIS ✨

πŸŽ€ Functions/Subroutines

  • subroutine DTRMV (uplo, trans, diag, n, a, lda, x, incx) β€” no cap, that's her whole signature. she's called DTRMV.

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

subroutine DTRMV (character uplo, character trans, character diag, integer
    n, double precision, dimension(lda,*) a, integer lda, double precision,
    dimension(*) x, integer incx)

DTRMV β€” that's the name, bestie, and she ate πŸ’…

🧚 Purpose

fr fr, DTRMV performs one of the matrix-vector operations

x := A*x,   or   x := A**T*x,

where x is an n element vector and A is an n by n unit, or non-unit, upper or lower triangular matrix. that's it. that's the whole job. main character behavior honestly 🌟


🌸 Parameters 🌸

okay so here's everyone in the group chat, one by one:

  • UPLO β€” UPLO is CHARACTER*1. on entry, UPLO specifies whether the matrix is an upper or lower triangular matrix as follows:
    • UPLO = 'U' or 'u' β†’ A is an upper triangular matrix.
    • UPLO = 'L' or 'l' β†’ A is a lower triangular matrix.
  • TRANS β€” TRANS is CHARACTER*1. on entry, TRANS specifies the operation to be performed as follows:
    • TRANS = 'N' or 'n' β†’ x := A*x.
    • TRANS = 'T' or 't' β†’ x := A**T*x.
    • TRANS = 'C' or 'c' β†’ x := A**T*x.
  • DIAG β€” DIAG is CHARACTER*1. on entry, DIAG specifies whether or not A is unit triangular as follows:
    • DIAG = 'U' or 'u' β†’ A is assumed to be unit triangular.
    • DIAG = 'N' or 'n' β†’ A is not assumed to be unit triangular.
  • N β€” N is INTEGER. on entry, N specifies the order of the matrix A. N must be at least zero. zero is allowed, she's flexible like that 🫢
  • A β€” A is DOUBLE PRECISION array, dimension ( LDA, N ). okay so:
    • before entry with UPLO = 'U' or 'u', the leading n by n upper triangular part of the array A must contain the upper triangular matrix, and the strictly lower triangular part of A is not referenced (she's not looking at it, mind your business πŸ™ˆ).
    • before entry with UPLO = 'L' or 'l', the leading n by n lower triangular part of the array A must contain the lower triangular matrix, and the strictly upper triangular part of A is not referenced.
    • note that when DIAG = 'U' or 'u', the diagonal elements of A are not referenced either β€” they're just assumed to be unity. iconic of them tbh.
  • LDA β€” LDA is INTEGER. on entry, LDA specifies the first dimension of A as declared in the calling (sub) program. LDA must be at least max( 1, n ). non-negotiable bestie ⚠️
  • X β€” X is DOUBLE PRECISION array, dimension at least ( 1 + ( n - 1 )*abs( INCX ) ). before entry, the incremented array X must contain the n element vector x. on exit, X is overwritten with the transformed vector x. so yeah she comes out different, that's the point πŸ’€
  • INCX β€” INCX is INTEGER. on entry, INCX specifies the increment for the elements of X. INCX must not be zero. ever. please. πŸ™

πŸ¦‹ Author πŸ¦‹

the whole squad basically:

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

⭐ Further Details ⭐

Level 2 Blas routine. The vector and matrix arguments are not referenced when N = 0, or M = 0

and then the historical lore drop, which is honestly kind of a vibe:

-- Written on 22-October-1986. Jack Dongarra, Argonne National Lab. Jeremy Du Croz, Nag Central Office. Sven Hammarling, Nag Central Office. Richard Hanson, Sandia National Labs.

like?? 1986?? they were doing this before i was even a concept. respect. 🫑


Definition at line 146 of file dtrmv.f. ✨


πŸ’– Author πŸ’–

Generated automatically by Doxygen for LAPACK from the source code. not me being auto-generated and still serving looks πŸ’…


and that's the page bestie πŸŽ€ source is LAPACK, Version 3.12.0, dated with the /home/abui...SRC/dtrmv.f(3) footer, and honestly she slayed. go call DTRMV, be careful with INCX, and remember: not referenced means not referenced. periodt 🌈⭐

πŸ“¦ where this page comes from