heswapr#
Functions
-
void cheswapr(const char *uplo, const INT n, c64 *restrict A, const INT lda, const INT i1, const INT i2)#
CHESWAPR applies an elementary permutation on the rows and the columns of a Hermitian matrix.
Parameters
inuplo'U': Upper triangular part of A is stored'L': Lower triangular part of A is stored
innThe order of the matrix A.
n>=0.inoutASingle complex array of dimension
(lda,n). On entry, the Hermitian matrix A. On exit, rowsi1andi2and columnsi1andi2are interchanged. The unused triangle is not referenced.inldaThe leading dimension of A.
lda>=max(1,n).ini1The 0-based index of the first row and column.
ini2The 0-based index of the second row and column.
void cheswapr(
const char* uplo,
const INT n,
c64* restrict A,
const INT lda,
const INT i1,
const INT i2
);
Functions
-
void zheswapr(const char *uplo, const INT n, c128 *restrict A, const INT lda, const INT i1, const INT i2)#
ZHESWAPR applies an elementary permutation on the rows and the columns of a Hermitian matrix.
Parameters
inuplo'U': Upper triangular part of A is stored'L': Lower triangular part of A is stored
innThe order of the matrix A.
n>=0.inoutADouble complex array of dimension
(lda,n). On entry, the Hermitian matrix A. On exit, rowsi1andi2and columnsi1andi2are interchanged. The unused triangle is not referenced.inldaThe leading dimension of A.
lda>=max(1,n).ini1The 0-based index of the first row and column.
ini2The 0-based index of the second row and column.
void zheswapr(
const char* uplo,
const INT n,
c128* restrict A,
const INT lda,
const INT i1,
const INT i2
);