Developer Reference for Intel® oneAPI Math Kernel Library for C
?latm5
Generates matrices involved in the Generalized Sylvester equation.
Syntax
void slatm5 ( *prtype , lapack_int*m , lapack_int*n , float*a , lapack_int*lda , float*b , lapack_int*ldb , float*c , lapack_int*ldc , float*d , lapack_int*ldd , float*e , lapack_int*lde , float*f , lapack_int*ldf , float*r , lapack_int*ldr , float*l , lapack_int*ldl , float*alpha , lapack_int*qblcka , lapack_int*qblckb );
void dlatm5 ( *prtype , lapack_int*m , lapack_int*n , double*a , lapack_int*lda , double*b , lapack_int*ldb , double*c , lapack_int*ldc , double*d , lapack_int*ldd , double*e , lapack_int*lde , double*f , lapack_int*ldf , double*r , lapack_int*ldr , double*l , lapack_int*ldl , double*alpha , lapack_int*qblcka , lapack_int*qblckb );
void clatm5 ( *prtype , lapack_int*m , lapack_int*n , lapack_complex_float*a , lapack_int*lda , lapack_complex_float*b , lapack_int*ldb , lapack_complex_float*c , lapack_int*ldc , lapack_complex_float*d , lapack_int*ldd , lapack_complex_float*e , lapack_int*lde , lapack_complex_float*f , lapack_int*ldf , lapack_complex_float*r , lapack_int*ldr , lapack_complex_float*l , lapack_int*ldl , float*alpha , lapack_int*qblcka , lapack_int*qblckb );
void zlatm5 ( *prtype , lapack_int*m , lapack_int*n , lapack_complex_double*a , lapack_int*lda , lapack_complex_double*b , lapack_int*ldb , lapack_complex_double*c , lapack_int*ldc , lapack_complex_double*d , lapack_int*ldd , lapack_complex_double*e , lapack_int*lde , lapack_complex_double*f , lapack_int*ldf , lapack_complex_double*r , lapack_int*ldr , lapack_complex_double*l , lapack_int*ldl , float*alpha , lapack_int*qblcka , lapack_int*qblckb );
Include Files
mkl.h
Description
slatm5 dlatm5 clatm5 zlatm5
The ?latm5 routine generates matrices involved in the Generalized Sylvester equation:
A * R - L * B = C
D * R - L * E = F
They also satisfy the diagonalization condition:
Input Parameters
prtype
Specifies the type of matrices to generate.
m
Specifies the order of A and D and the number of rows in C , F , R and L .
n
Specifies the order of B and E and the number of columns in C , F , R and L .
lda
The leading dimension of a .
ldb
The leading dimension of b .
ldc
The leading dimension of c .
ldd
The leading dimension of d .
lde
The leading dimension of e .
ldf
The leading dimension of f .
ldr
The leading dimension of r .
ldl
The leading dimension of l .
- alpha
-
REAL for slatm5 , DOUBLE PRECISION for dlatm5 , REAL for clatm5 , DOUBLE PRECISION for zlatm5 , Parameter used in generating prtype = 1 and 5 matrices.
qblcka
When prtype = 3, specifies the distance between 2-by-2 blocks on the diagonal in A . Otherwise, qblcka is not referenced. qblcka > 1.
qblckb
When prtype = 3, specifies the distance between 2-by-2 blocks on the diagonal in B . Otherwise, qblckb is not referenced. qblckb > 1.
Output Parameters
- a
-
REAL for slatm5 , DOUBLE PRECISION for dlatm5 , COMPLEX for clatm5 , DOUBLE COMPLEX for zlatm5 , Array, size (lda, m)lda*m . On exit a contains the m -by- m array A initialized according to prtype .
- b
-
REAL for slatm5 , DOUBLE PRECISION for dlatm5 , COMPLEX for clatm5 , DOUBLE COMPLEX for zlatm5 , Array, size (ldb, n)ldb*n . On exit b contains the n -by- n array B initialized according to prtype .
- c
-
REAL for slatm5 , DOUBLE PRECISION for dlatm5 , COMPLEX for clatm5 , DOUBLE COMPLEX for zlatm5 , Array, size (ldc, n)ldc*n . On exit c contains the m -by- n array C initialized according to prtype .
- d
-
REAL for slatm5 , DOUBLE PRECISION for dlatm5 , COMPLEX for clatm5 , DOUBLE COMPLEX for zlatm5 , Array, size (ldd, m)ldd*m . On exit d contains the m -by- m array D initialized according to prtype .
- e
-
REAL for slatm5 , DOUBLE PRECISION for dlatm5 , COMPLEX for clatm5 , DOUBLE COMPLEX for zlatm5 , Array, size (lde, n)lde*n . On exit e contains the n -by- n array E initialized according to prtype .
- f
-
REAL for slatm5 , DOUBLE PRECISION for dlatm5 , COMPLEX for clatm5 , DOUBLE COMPLEX for zlatm5 , Array, size (ldf, n)ldf*n . On exit f contains the m -by- n array F initialized according to prtype .
- r
-
REAL for slatm5 , DOUBLE PRECISION for dlatm5 , COMPLEX for clatm5 , DOUBLE COMPLEX for zlatm5 , Array, size (ldr, n)ldr*n . On exit R contains the m -by- n array R initialized according to prtype .
- l
-
REAL for slatm5 , DOUBLE PRECISION for dlatm5 , COMPLEX for clatm5 , DOUBLE COMPLEX for zlatm5 , Array, size (ldl, n)ldl*n . On exit l contains the m -by- n array L initialized according to prtype .