logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

larcm - larcm: real * complex matrix-matrix multiply

Author

Generated automatically by Doxygen for LAPACK from the source code. Version 3.12.0 Thu Aug 7 2025 17:26:25 larcm(3)

Detailed Description

Function Documentation

subroutineclarcm(integerm,integern,real,dimension(lda,*)a,integerlda,complex,dimension(ldb,*)b,integerldb,complex,dimension(ldc,*)c,integerldc,real,dimension(*)rwork)CLARCM copies all or part of a real two-dimensional array to a complex array. Purpose: CLARCM performs a very simple matrix-matrix multiplication: C := A * B, where A is M by M and real; B is M by N and complex; C is M by N and complex. ParametersM 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 REAL array, dimension (LDA, M) On entry, A contains the M by M matrix A. LDA LDA is INTEGER The leading dimension of the array A. LDA >=max(1,M). B B is COMPLEX array, dimension (LDB, N) On entry, B contains the M by N matrix B. LDB LDB is INTEGER The leading dimension of the array B. LDB >=max(1,M). 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,M). RWORK RWORK is REAL array, dimension (2*M*N) Author Univ. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd. subroutinezlarcm(integerm,integern,doubleprecision,dimension(lda,*)a,integerlda,complex*16,dimension(ldb,*)b,integerldb,complex*16,dimension(ldc,*)c,integerldc,doubleprecision,dimension(*)rwork)ZLARCM copies all or part of a real two-dimensional array to a complex array. Purpose: ZLARCM performs a very simple matrix-matrix multiplication: C := A * B, where A is M by M and real; B is M by N and complex; C is M by N and complex. ParametersM 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 DOUBLE PRECISION array, dimension (LDA, M) On entry, A contains the M by M matrix A. LDA LDA is INTEGER The leading dimension of the array A. LDA >=max(1,M). B B is COMPLEX*16 array, dimension (LDB, N) On entry, B contains the M by N matrix B. LDB LDB is INTEGER The leading dimension of the array B. LDB >=max(1,M). 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,M). RWORK RWORK is DOUBLE PRECISION array, dimension (2*M*N) Author Univ. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd.

Name

larcm - larcm: real * complex matrix-matrix multiply

Synopsis

Functions subroutine clarcm (m, n, a, lda, b, ldb, c, ldc, rwork) CLARCM copies all or part of a real two-dimensional array to a complex array. subroutine zlarcm (m, n, a, lda, b, ldb, c, ldc, rwork) ZLARCM copies all or part of a real two-dimensional array to a complex array.

See Also