Visible to Intel only — GUID: GUID-63BCD5DA-661F-4ACB-93EB-04D7EB257572
Visible to Intel only — GUID: GUID-63BCD5DA-661F-4ACB-93EB-04D7EB257572
?heswapr
Applies an elementary permutation on the rows and columns of a Hermitian matrix.
call cheswapr( uplo, n, a, lda, i1, i2 )
call zheswapr( uplo, n, a, lda, i1, i2 )
call heswapr( a, i1, i2 [,uplo] )
- mkl.fi, lapack.f90
The routine applies an elementary permutation on the rows and columns of a Hermitian matrix.
The data types are given for the Fortran interface.
- uplo
-
CHARACTER*1. Must be 'U' or 'L'.
Indicates how the input matrix A has been factored:
If uplo = 'U', the array a stores the upper triangular factor U of the factorization A = U*D*UH.
If uplo = 'L', the array a stores the lower triangular factor L of the factorization A = L*D*LH.
- n
-
INTEGER. The order of matrix A; n≥ 0.
- nrhs
-
INTEGER. The number of right-hand sides; nrhs≥ 0.
- a
-
COMPLEX for cheswapr
DOUBLE COMPLEX for zheswapr
Array of size (lda, n).
The array a contains the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by ?hetrf.
- lda
-
INTEGER. The leading dimension of the array a. lda≥max(1,n).
- i1
-
INTEGER. Index of the first row to swap.
- i2
-
INTEGER. Index of the second row to swap.
- a
-
If info = 0, the inverse of the original matrix.
If info = 'U', the upper triangular part of the inverse is formed and the part of A below the diagonal is not referenced.
If info = 'L', the lower triangular part of the inverse is formed and the part of A above the diagonal is not referenced.
Routines in Fortran 95 interface have fewer arguments in the calling sequence than their FORTRAN 77 counterparts. For general conventions applied to skip redundant or reconstructible arguments, see LAPACK 95 Interface Conventions.
Specific details for the routine heswapr interface are as follows:
- a
-
Holds the matrix A of size (n, n).
- i1
-
Holds the index for swap.
- i2
-
Holds the index for swap.
- uplo
-
Must be 'U' or 'L'.