1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
---
:name: csyswapr
:md5sum: e53b159491b12c5dd923b2795134aff2
:category: :subroutine
:arguments:
- uplo:
:type: char
:intent: input
- n:
:type: integer
:intent: input
- a:
:type: complex
:intent: input/output
:dims:
- lda
- n
- i1:
:type: integer
:intent: input
- i2:
:type: integer
:intent: input
:substitutions: {}
:fortran_help: " SUBROUTINE CSYSWAPR( UPLO, N, A, I1, I2)\n\n\
* Purpose\n\
* =======\n\
*\n\
* CSYSWAPR applies an elementary permutation on the rows and the columns of\n\
* a symmetric matrix.\n\
*\n\n\
* Arguments\n\
* =========\n\
*\n\
* UPLO (input) CHARACTER*1\n\
* Specifies whether the details of the factorization are stored\n\
* as an upper or lower triangular matrix.\n\
* = 'U': Upper triangular, form is A = U*D*U**T;\n\
* = 'L': Lower triangular, form is A = L*D*L**T.\n\
*\n\
* N (input) INTEGER\n\
* The order of the matrix A. N >= 0.\n\
*\n\
* A (input/output) COMPLEX array, dimension (LDA,N)\n\
* On entry, the NB diagonal matrix D and the multipliers\n\
* used to obtain the factor U or L as computed by CSYTRF.\n\
*\n\
* On exit, if INFO = 0, the (symmetric) inverse of the original\n\
* matrix. If UPLO = 'U', the upper triangular part of the\n\
* inverse is formed and the part of A below the diagonal is not\n\
* referenced; if UPLO = 'L' the lower triangular part of the\n\
* inverse is formed and the part of A above the diagonal is\n\
* not referenced.\n\
*\n\
* I1 (input) INTEGER\n\
* Index of the first row to swap\n\
*\n\
* I2 (input) INTEGER\n\
* Index of the second row to swap\n\
*\n\n\
* =====================================================================\n\
*\n\
* ..\n\
* .. Local Scalars ..\n LOGICAL UPPER\n INTEGER I\n COMPLEX TMP\n\
*\n\
* .. External Functions ..\n LOGICAL LSAME\n EXTERNAL LSAME\n\
* ..\n\
* .. External Subroutines ..\n EXTERNAL CSWAP\n\
* ..\n"
|