LAPACK 3.12.0
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches

◆ clarcm()

subroutine clarcm ( integer m,
integer n,
real, dimension( lda, * ) a,
integer lda,
complex, dimension( ldb, * ) b,
integer ldb,
complex, dimension( ldc, * ) c,
integer ldc,
real, dimension( * ) rwork )

CLARCM copies all or part of a real two-dimensional array to a complex array.

Download CLARCM + dependencies [TGZ] [ZIP] [TXT]

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.
!> 
Parameters
[in]M
!>          M is INTEGER
!>          The number of rows of the matrix A and of the matrix C.
!>          M >= 0.
!> 
[in]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.
!> 
[in]A
!>          A is REAL array, dimension (LDA, M)
!>          On entry, A contains the M by M matrix A.
!> 
[in]LDA
!>          LDA is INTEGER
!>          The leading dimension of the array A. LDA >=max(1,M).
!> 
[in]B
!>          B is COMPLEX array, dimension (LDB, N)
!>          On entry, B contains the M by N matrix B.
!> 
[in]LDB
!>          LDB is INTEGER
!>          The leading dimension of the array B. LDB >=max(1,M).
!> 
[out]C
!>          C is COMPLEX array, dimension (LDC, N)
!>          On exit, C contains the M by N matrix C.
!> 
[in]LDC
!>          LDC is INTEGER
!>          The leading dimension of the array C. LDC >=max(1,M).
!> 
[out]RWORK
!>          RWORK is REAL array, dimension (2*M*N)
!> 
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.