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 71 72 73 74 75 76 77 78 79 80 81
|
---
:name: slaswp
:md5sum: a146d16e2844160e4ad408d072ac1b88
:category: :subroutine
:arguments:
- n:
:type: integer
:intent: input
- a:
:type: real
:intent: input/output
:dims:
- lda
- n
- lda:
:type: integer
:intent: input
- k1:
:type: integer
:intent: input
- k2:
:type: integer
:intent: input
- ipiv:
:type: integer
:intent: input
:dims:
- k2*abs(incx)
- incx:
:type: integer
:intent: input
:substitutions: {}
:fortran_help: " SUBROUTINE SLASWP( N, A, LDA, K1, K2, IPIV, INCX )\n\n\
* Purpose\n\
* =======\n\
*\n\
* SLASWP performs a series of row interchanges on the matrix A.\n\
* One row interchange is initiated for each of rows K1 through K2 of A.\n\
*\n\n\
* Arguments\n\
* =========\n\
*\n\
* N (input) INTEGER\n\
* The number of columns of the matrix A.\n\
*\n\
* A (input/output) REAL array, dimension (LDA,N)\n\
* On entry, the matrix of column dimension N to which the row\n\
* interchanges will be applied.\n\
* On exit, the permuted matrix.\n\
*\n\
* LDA (input) INTEGER\n\
* The leading dimension of the array A.\n\
*\n\
* K1 (input) INTEGER\n\
* The first element of IPIV for which a row interchange will\n\
* be done.\n\
*\n\
* K2 (input) INTEGER\n\
* The last element of IPIV for which a row interchange will\n\
* be done.\n\
*\n\
* IPIV (input) INTEGER array, dimension (K2*abs(INCX))\n\
* The vector of pivot indices. Only the elements in positions\n\
* K1 through K2 of IPIV are accessed.\n\
* IPIV(K) = L implies rows K and L are to be interchanged.\n\
*\n\
* INCX (input) INTEGER\n\
* The increment between successive values of IPIV. If IPIV\n\
* is negative, the pivots are applied in reverse order.\n\
*\n\n\
* Further Details\n\
* ===============\n\
*\n\
* Modified by\n\
* R. C. Whaley, Computer Science Dept., Univ. of Tenn., Knoxville, USA\n\
*\n\
* =====================================================================\n\
*\n\
* .. Local Scalars ..\n INTEGER I, I1, I2, INC, IP, IX, IX0, J, K, N32\n REAL TEMP\n\
* ..\n"
|