BLAS/SRC/ctrmm.f(3)
π BLAS/SRC/ctrmm.f π
okay so bestie, welcome to the ctrmm page from the LAPACK manual β specifically BLAS/SRC/ctrmm.f(3). it's giving triangular matrix-matrix realness and honestly? iconic. let's get into it π«Ά
β¨ NAME β¨
BLAS/SRC/ctrmm.f β she's a file, she's a legend, she does one (1) very specific job and she does it flawlessly π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine ctrmm (side, uplo, transa, diag, m, n, alpha, a, lda, b, ldb)β CTRMM β¨
π Function/Subroutine Documentation π
subroutine ctrmm (character side, character uplo, character transa, character diag, integer m, integer n, complex alpha, complex, dimension(lda,*) a, integer lda, complex, dimension(ldb,*) b, integer ldb)
CTRMM π
Purpose:
CTRMM performs one of the matrix-matrix operations
B := alpha*op( A )*B, or B := alpha*B*op( A )
where alpha is a scalar, B is an m by n matrix, 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 or op( A ) = A**H.
no cap, that's the whole vibe. π«
π Parameters π
SIDEβSIDE is CHARACTER*1On entry,SIDEspecifies whetherop( A )multipliesBfrom the left or right as follows:
SIDE = 'L' or 'l' B := alpha*op( A )*B.
SIDE = 'R' or 'r' B := alpha*B*op( A ).
left or right, bestie β pick your lane π¦
UPLOβUPLO is CHARACTER*1On entry,UPLOspecifies whether the matrixAis 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.
TRANSAβTRANSA is CHARACTER*1On entry,TRANSAspecifies the form ofop( A )to be used in the matrix multiplication as follows:
TRANSA = 'N' or 'n' op( A ) = A.
TRANSA = 'T' or 't' op( A ) = A**T.
TRANSA = 'C' or 'c' op( A ) = A**H.
transpose? conjugate transpose? she contains multitudes β¨
DIAGβDIAG is CHARACTER*1On entry,DIAGspecifies whether or notAis 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.
MβM is INTEGEROn entry,Mspecifies the number of rows ofB.Mmust be at least zero.NβN is INTEGEROn entry,Nspecifies the number of columns ofB.Nmust be at least zero.ALPHAβALPHA is COMPLEXOn entry,ALPHAspecifies the scalaralpha. Whenalphais zero thenAis not referenced andBneed not be set before entry.
zero alpha? A gets to sit this one out, she's off the clock π
AβA is COMPLEX array, dimension ( LDA, k ), wherekismwhenSIDE = 'L' or 'l'and isnwhenSIDE = '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.LDAβLDA is INTEGEROn 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βB is COMPLEX array, dimension ( LDB, N ).Before entry, the leadingmbynpart of the arrayBmust contain the matrixB, and on exit is overwritten by the transformed matrix.
heads up bestie β B gets rewritten in place, she does not come back the same π
LDBβLDB is INTEGEROn 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.
1989?? and still serving Level 3 BLAS excellence, we love a timeless queen π
Definition at line 176 of file ctrmm.f.
β Author
Generated automatically by Doxygen for LAPACK from the source code.
and that's the whole page bestie!! no notes, she ate π β¨
Version 3.12.0 β Tue Nov 28 2023 12:08:41 β BLAS/SRC/ctrmm.f(3) π¦
okay bye ily, go call ctrmm responsibly π«Άπ
π¦ where this page comes from
- centos-stream 10: blas 3.12.0-7.el10 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms