lacrm(3)

πŸ’… lacrm β€” bestie, it's giving complex Γ— real matrix-matrix multiply

okay so this is lacrm from the LAPACK library functions manual, and it's literally just two lil subroutines that do one very specific glowy thing: multiply a complex matrix by a square real matrix. no cap, that's the whole vibe. πŸ’–


✨ SYNOPSIS ✨

πŸŽ€ Functions

  • subroutine clacrm (m, n, a, lda, b, ldb, c, ldc, rwork) β€” CLACRM multiplies a complex matrix by a square real matrix. ✨
  • subroutine zlacrm (m, n, a, lda, b, ldb, c, ldc, rwork) β€” ZLACRM multiplies a complex matrix by a square real matrix. πŸ’œ

πŸ¦‹ Detailed Description

🌸 Function Documentation

πŸ’… subroutine clacrm (integer m, integer n, complex, dimension( lda, * ) a, integer lda, real, dimension( ldb, * ) b, integer ldb, complex, dimension( ldc, * ) c, integer ldc, real, dimension( * ) rwork)

CLACRM multiplies a complex matrix by a square real matrix. main character energy fr fr. 🫢

⭐ Purpose:

!>
!> CLACRM performs a very simple matrix-matrix multiplication:
!>          C := A * B,
!> where A is M by N and complex; B is N by N and real;
!> C is M by N and complex.
!>

like, it's not doing anything extra, it's just doing exactly what it says on the tin. iconic behavior honestly. ✨

🧚 Parameters

  • M
!>          M is INTEGER
!>          The number of rows of the matrix A and of the matrix C.
!>          M >= 0.
!>
  • N
!>          N is INTEGER
!>          The number of columns and rows of the matrix B and
!>          the number of columns of the matrix C.
!>          N >= 0.
!>
okay bestie pay attention here: N is doing double duty β€” it's the columns and rows of B (because B is square, periodt) and the number of columns of C. πŸŽ€
  • A
!>          A is COMPLEX array, dimension (LDA, N)
!>          On entry, A contains the M by N matrix A.
!>
  • LDA
!>          LDA is INTEGER
!>          The leading dimension of the array A. LDA >=max(1,M).
!>
  • B
!>          B is REAL array, dimension (LDB, N)
!>          On entry, B contains the N by N matrix B.
!>
  • LDB
!>          LDB is INTEGER
!>          The leading dimension of the array B. LDB >=max(1,N).
!>
  • C
!>          C is COMPLEX array, dimension (LDC, N)
!>          On exit, C contains the M by N matrix C.
!>
  • LDC
!>          LDC is INTEGER
!>          The leading dimension of the array C. LDC >=max(1,N).
!>
πŸ’€ not me pointing this out but yes, the manpage literally says LDC >=max(1,N) and we are NOT editing it, we report it exactly as it is. lowkey keep that in mind. πŸ™ˆ
  • RWORK
!>          RWORK is REAL array, dimension (2*M*N)
!>

πŸ‘‘ Author

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

Definition at line 113 of file clacrm.f.


πŸ’œ subroutine zlacrm (integer m, integer n, complex*16, dimension( lda, * ) a, integer lda, double precision, dimension( ldb, * ) b, integer ldb, complex*16, dimension( ldc, * ) c, integer ldc, double precision, dimension( * ) rwork)

ZLACRM multiplies a complex matrix by a square real matrix. the double-precision sibling ate and left no crumbs. πŸ”₯

⭐ Purpose:

!>
!> ZLACRM performs a very simple matrix-matrix multiplication:
!>          C := A * B,
!> where A is M by N and complex; B is N by N and real;
!> C is M by N and complex.
!>

same rule, same vibe, just COMPLEX*16/DOUBLE PRECISION flavored. πŸ’–

🧚 Parameters

  • M
!>          M is INTEGER
!>          The number of rows of the matrix A and of the matrix C.
!>          M >= 0.
!>
  • N
!>          N is INTEGER
!>          The number of columns and rows of the matrix B and
!>          the number of columns of the matrix C.
!>          N >= 0.
!>
  • A
!>          A is COMPLEX*16 array, dimension (LDA, N)
!>          On entry, A contains the M by N matrix A.
!>
  • LDA
!>          LDA is INTEGER
!>          The leading dimension of the array A. LDA >=max(1,M).
!>
  • B
!>          B is DOUBLE PRECISION array, dimension (LDB, N)
!>          On entry, B contains the N by N matrix B.
!>
  • LDB
!>          LDB is INTEGER
!>          The leading dimension of the array B. LDB >=max(1,N).
!>
  • C
!>          C is COMPLEX*16 array, dimension (LDC, N)
!>          On exit, C contains the M by N matrix C.
!>
  • LDC
!>          LDC is INTEGER
!>          The leading dimension of the array C. LDC >=max(1,N).
!>
  • RWORK
!>          RWORK is DOUBLE PRECISION array, dimension (2*M*N)
!>

πŸ‘‘ Author

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

Definition at line 113 of file zlacrm.f.


🌈 Author

Generated automatically by Doxygen for LAPACK from the source code. πŸŽ€


and that's the whole page bestie!! πŸ¦‹ LAPACK, Version 3.12.0 β€” lacrm(3), mwah, slay, go multiply something. πŸ’…βœ¨

πŸ“¦ where this page comes from