BLAS/SRC/strsm.f(3)
π NAME π
BLAS/SRC/strsm.f β that's the name, bestie, and this page is from the Library Functions Manual, specifically the BLAS/SRC/strsm.f(3) page. π
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines π«Ά
subroutine strsm (side, uplo, transa, diag, m, n, alpha, a, lda, b, ldb)
STRSM
π Function/Subroutine Documentation π
subroutine strsm (character side, character uplo, character transa,
character diag, integer m, integer n, real alpha, real, dimension(lda,*)
a, integer lda, real, dimension(ldb,*) b, integer ldb)
STRSM
π¦ Purpose π¦
Okay so STRSM solves one of these matrix equations, no cap:
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.
The matrix X is overwritten on B. That's the whole plot, periodt. π«Ά
πΈ Parameters πΈ
SIDEβCHARACTER*1. On entry,SIDEsays whetherop( A )sits on the left or the 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,UPLOtells you ifAis upper or lower triangular:UPLO = 'U' or 'u'βA is an upper triangular matrix.UPLO = 'L' or 'l'βA is a lower triangular matrix.
TRANSAβCHARACTER*1. On entry,TRANSAchooses 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 whetherAis unit triangular or not:DIAG = 'U' or 'u'βA is assumed to be unit triangular.DIAG = 'N' or 'n'βA is not assumed to be unit triangular.
MβINTEGER. On entry,Mspecifies the number of rows ofB.Mmust be at least zero. πNβINTEGER. On entry,Nspecifies the number of columns ofB.Nmust be at least zero. πALPHAβREAL. On entry,ALPHAspecifies the scalaralpha. Whenalphais zero, thenAis not referenced andBneed not be set before entry. obsessed with a parameter that lets you skip setup, honestly. β¨AβREAL array, dimension ( LDA, k ), wherekismwhenSIDE = 'L' or 'l', andkisnwhenSIDE = 'R' or 'r'.- Before entry with
UPLO = '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 with
UPLO = '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 when
DIAG = 'U' or 'u', the diagonal elements ofAare not referenced either, but are assumed to be unity. iconic shortcut behavior tbh.
- Before entry with
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 ); whenSIDE = 'R' or 'r'thenLDAmust be at leastmax( 1, n ).BβREAL 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. bye original B, hello solution X. π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 π₯
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 β
Definition at line 180 of file strsm.f. π«Ά
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Okay bestie, that's the whole BLAS/SRC/strsm.f(3) page, and the footer vibe is LAPACK, Version 3.12.0, page BLAS/SRC/strsm.f(3). Byeee πβ¨π
π¦ 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