BLAS/SRC/dtrsm.f(3)
πΈ NAME πΈ
okay bestie, welcome to BLAS/SRC/dtrsm.f(3) β yes, thatβs the page, and yes, itβs from the Library Functions Manual. Weβre doing Fortran BLAS tea today π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine dtrsm (side, uplo, transa, diag, m, n, alpha, a, lda, b, ldb)β literally the main character, aka DTRSM π
π Function/Subroutine Documentation π
subroutine dtrsm (character side, character uplo, character transa,
character diag, integer m, integer n, double precision alpha, double
precision, dimension(lda,*) a, integer lda, double precision,
dimension(ldb,*) b, integer ldb)
bestie, this is DTRSM, and she is serving linear algebra realness π
π Purpose π
okay so DTRSM solves one of these matrix equations:
op( A )*X = alpha*B, or X*op( A ) = alpha*B,
where alpha is a scalar, X and B are m by n matrices, A is a unit or non-unit upper or lower triangular matrix, and op( A ) is one of:
op( A ) = A or op( A ) = A**T.
and the matrix X is overwritten on B. periodt π
π Parameters π
SIDEβCHARACTER*1β¨ On entry,SIDEsays whetherop( A )shows up on the left or right ofX, like this:SIDE = 'L' or 'l'βop( A )*X = alpha*B.SIDE = 'R' or 'r'βX*op( A ) = alpha*B.
UPLOβCHARACTER*1π On entry,UPLOsays whether matrixAis upper or lower triangular, bestie:UPLO = 'U' or 'u'βAis an upper triangular matrix.UPLO = 'L' or 'l'βAis a lower triangular matrix.
TRANSAβCHARACTER*1π¦ On entry,TRANSApicks the form ofop( A )used in the matrix multiplication:TRANSA = 'N' or 'n'βop( A ) = A.TRANSA = 'T' or 't'βop( A ) = A**T.TRANSA = 'C' or 'c'βop( A ) = A**T.
DIAGβCHARACTER*1πΈ On entry,DIAGsays whether or notAis unit triangular:DIAG = 'U' or 'u'βAis assumed to be unit triangular.DIAG = 'N' or 'n'βAis not assumed to be unit triangular.
MβINTEGERπ On entry,Mis the number of rows ofB.Mmust be at least zero.NβINTEGERπ On entry,Nis the number of columns ofB.Nmust be at least zero.ALPHAβDOUBLE PRECISION.π On entry,ALPHAis the scalaralpha. Whenalphais zero thenAis not referenced andBneed not be set before entry. lowkey iconic behaviour tbh.AβDOUBLE PRECISION array, dimension ( LDA, k ),wherekismwhenSIDE = 'L' or 'l'andkisnwhenSIDE = 'R' or 'r'. π₯ Before entry withUPLO = 'U' or 'u', the leadingkbykupper triangular part of the arrayAmust contain the upper triangular matrix, and the strictly lower triangular part ofAis not referenced. Before entry withUPLO = 'L' or 'l', the leadingkbyklower triangular part of the arrayAmust contain the lower triangular matrix, and the strictly upper triangular part ofAis not referenced. Note that whenDIAG = 'U' or 'u', the diagonal elements ofAare not referenced either, but are assumed to be unity. slay β¨LDAβINTEGERπ§ On entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program. WhenSIDE = 'L' or 'l'thenLDAmust be at leastmax( 1, m ), and whenSIDE = 'R' or 'r'thenLDAmust be at leastmax( 1, n ).BβDOUBLE PRECISION array, dimension ( LDB, N )π«Ά Before entry, the leadingmbynpart of the arrayBmust contain the right-hand side matrixB, and on exit is overwritten by the solution matrixX. no cap, she replaces it πLDBβINTEGERπ On entry,LDBspecifies the first dimension ofBas declared in the calling (sub) program.LDBmust be at leastmax( 1, m ).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π₯ Further Details π₯
okay so this is a Level 3 Blas routine. π
-- Written on 8-February-1989.- Jack Dongarra, Argonne National Laboratory.
- Iain Duff, AERE Harwell.
- Jeremy Du Croz, Numerical Algorithms Group Ltd.
- Sven Hammarling, Numerical Algorithms Group Ltd.
π Definition at line 180 of file dtrsm.f π
literally right there: Definition at line 180 of file dtrsm.f. π
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code. π€β¨
and thatβs the whole vibe, bestie π this page is from LAPACK Version 3.12.0, and itβs filed under BLAS/SRC/dtrsm.f(3) β go off, triangular solver queen ππ¦π
π¦ 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