syswapr#
Functions
-
void ssyswapr(const char *uplo, const INT n, f32 *restrict A, const INT lda, const INT i1, const INT i2)#
SSYSWAPR applies an elementary permutation on the rows and the columns of a symmetric matrix.
Parameters
inuploSpecifies whether the details of the factorization are stored as an upper or lower triangular matrix. = ‘U’: Upper triangular, form is A = U*D*U**T; = ‘L’: Lower triangular, form is A = L*D*L**T.
innThe order of the matrix A. n >= 0.
inoutADouble precision array, dimension (lda, n). On entry, the N-by-N matrix A. On exit, the permuted matrix where the rows i1 and i2 and columns i1 and i2 are interchanged. If UPLO = ‘U’, the interchanges are applied to the upper triangular part and the strictly lower triangular part of A is not referenced; if UPLO = ‘L’, the interchanges are applied to the lower triangular part and the part of A above the diagonal is not referenced.
inldaThe leading dimension of the array A. lda >= max(1, n).
ini1Index of the first row to swap (0-based).
ini2Index of the second row to swap (0-based).
void ssyswapr(
const char* uplo,
const INT n,
f32* restrict A,
const INT lda,
const INT i1,
const INT i2
);
Functions
-
void dsyswapr(const char *uplo, const INT n, f64 *restrict A, const INT lda, const INT i1, const INT i2)#
DSYSWAPR applies an elementary permutation on the rows and the columns of a symmetric matrix.
Parameters
inuploSpecifies whether the details of the factorization are stored as an upper or lower triangular matrix. = ‘U’: Upper triangular, form is A = U*D*U**T; = ‘L’: Lower triangular, form is A = L*D*L**T.
innThe order of the matrix A. n >= 0.
inoutADouble precision array, dimension (lda, n). On entry, the N-by-N matrix A. On exit, the permuted matrix where the rows i1 and i2 and columns i1 and i2 are interchanged. If UPLO = ‘U’, the interchanges are applied to the upper triangular part and the strictly lower triangular part of A is not referenced; if UPLO = ‘L’, the interchanges are applied to the lower triangular part and the part of A above the diagonal is not referenced.
inldaThe leading dimension of the array A. lda >= max(1, n).
ini1Index of the first row to swap (0-based).
ini2Index of the second row to swap (0-based).
void dsyswapr(
const char* uplo,
const INT n,
f64* restrict A,
const INT lda,
const INT i1,
const INT i2
);
Functions
-
void csyswapr(const char *uplo, const INT n, c64 *restrict A, const INT lda, const INT i1, const INT i2)#
CSYSWAPR applies an elementary permutation on the rows and the columns of a symmetric matrix.
Parameters
inuploSpecifies whether the details of the factorization are stored as an upper or lower triangular matrix. = ‘U’: Upper triangular, form is A = U*D*U**T; = ‘L’: Lower triangular, form is A = L*D*L**T.
innThe order of the matrix A. n >= 0.
inoutASingle complex array, dimension (lda, n). On entry, the N-by-N matrix A. On exit, the permuted matrix where the rows i1 and i2 and columns i1 and i2 are interchanged. If UPLO = ‘U’, the interchanges are applied to the upper triangular part and the strictly lower triangular part of A is not referenced; if UPLO = ‘L’, the interchanges are applied to the lower triangular part and the part of A above the diagonal is not referenced.
inldaThe leading dimension of the array A. lda >= max(1, n).
ini1Index of the first row to swap (0-based).
ini2Index of the second row to swap (0-based).
void csyswapr(
const char* uplo,
const INT n,
c64* restrict A,
const INT lda,
const INT i1,
const INT i2
);
Functions
-
void zsyswapr(const char *uplo, const INT n, c128 *restrict A, const INT lda, const INT i1, const INT i2)#
ZSYSWAPR applies an elementary permutation on the rows and the columns of a symmetric matrix.
Parameters
inuploSpecifies whether the details of the factorization are stored as an upper or lower triangular matrix. = ‘U’: Upper triangular, form is A = U*D*U**T; = ‘L’: Lower triangular, form is A = L*D*L**T.
innThe order of the matrix A. n >= 0.
inoutADouble complex array, dimension (lda, n). On entry, the N-by-N matrix A. On exit, the permuted matrix where the rows i1 and i2 and columns i1 and i2 are interchanged. If UPLO = ‘U’, the interchanges are applied to the upper triangular part and the strictly lower triangular part of A is not referenced; if UPLO = ‘L’, the interchanges are applied to the lower triangular part and the part of A above the diagonal is not referenced.
inldaThe leading dimension of the array A. lda >= max(1, n).
ini1Index of the first row to swap (0-based).
ini2Index of the second row to swap (0-based).
void zsyswapr(
const char* uplo,
const INT n,
c128* restrict A,
const INT lda,
const INT i1,
const INT i2
);