?larcm
Multiplies a square real matrix by a complex matrix.
Syntax
lapack_int LAPACKE_clarcm
(
int matrix_layout
,
lapack_int m
,
lapack_int n
,
const float *a
,
lapack_int lda
,
const lapack_complex_float * b
,
lapack_int ldb
,
lapack_complex_float * c,
lapack_int ldc
);
lapack_int LAPACKE_zlarcm
(
int matrix_layout
,
lapack_int m
,
lapack_int n
,
const double * a
,
lapack_int lda
,
const lapack_complex_double *b
,
lapack_int ldb
,
lapack_complex_double *c
,
lapack_int ldc
);
Description
The routine performs a simple matrix-matrix multiplication of the form
C
= A
*B
where
A
is m
-by-m
and real, B
is m
-by-n
and complex, and C
is m
-by-n
and complex.Input Parameters
- m
- The number of rows and columns of matrixAand the number of rows of matrixC().m≥0
- n
- The number of columns of matrixBand the number of columns of matrixC().n≥0
- a
- Array, size[. Contains thelda*m]m-by-mmatrixA.
- lda
- The leading dimension of the arraya,.lda≥max(1,m)
- b
- Array,size(. Contains theldb,n)m-by-nmatrixB.
- ldb
- The leading dimension of the arrayb,ldb≥max(1,m) for column-major layout;ldb≥max(1,n) for row-major layout .
- ldc
- The leading dimension of the arrayc,ldc≥max(1,m) for column-major layout;ldc≥max(1,n) for row-major layout .
Output Parameters
- c
- Array, size (ldc,n). Contains them-by-nmatrixC.
Return Values
This function returns a value
info
.
If info
= 0, the execution is successful.
If info
= -i
, parameter i
had an illegal value.