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 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
|
---
:name: claqge
:md5sum: 71062e5276a246007a7f507402217ad2
:category: :subroutine
:arguments:
- m:
:type: integer
:intent: input
- n:
:type: integer
:intent: input
- a:
:type: complex
:intent: input/output
:dims:
- lda
- n
- lda:
:type: integer
:intent: input
- r:
:type: real
:intent: input
:dims:
- m
- c:
:type: real
:intent: input
:dims:
- n
- rowcnd:
:type: real
:intent: input
- colcnd:
:type: real
:intent: input
- amax:
:type: real
:intent: input
- equed:
:type: char
:intent: output
:substitutions: {}
:fortran_help: " SUBROUTINE CLAQGE( M, N, A, LDA, R, C, ROWCND, COLCND, AMAX, EQUED )\n\n\
* Purpose\n\
* =======\n\
*\n\
* CLAQGE equilibrates a general M by N matrix A using the row and\n\
* column scaling factors in the vectors R and C.\n\
*\n\n\
* Arguments\n\
* =========\n\
*\n\
* M (input) INTEGER\n\
* The number of rows of the matrix A. M >= 0.\n\
*\n\
* N (input) INTEGER\n\
* The number of columns of the matrix A. N >= 0.\n\
*\n\
* A (input/output) COMPLEX array, dimension (LDA,N)\n\
* On entry, the M by N matrix A.\n\
* On exit, the equilibrated matrix. See EQUED for the form of\n\
* the equilibrated matrix.\n\
*\n\
* LDA (input) INTEGER\n\
* The leading dimension of the array A. LDA >= max(M,1).\n\
*\n\
* R (input) REAL array, dimension (M)\n\
* The row scale factors for A.\n\
*\n\
* C (input) REAL array, dimension (N)\n\
* The column scale factors for A.\n\
*\n\
* ROWCND (input) REAL\n\
* Ratio of the smallest R(i) to the largest R(i).\n\
*\n\
* COLCND (input) REAL\n\
* Ratio of the smallest C(i) to the largest C(i).\n\
*\n\
* AMAX (input) REAL\n\
* Absolute value of largest matrix entry.\n\
*\n\
* EQUED (output) CHARACTER*1\n\
* Specifies the form of equilibration that was done.\n\
* = 'N': No equilibration\n\
* = 'R': Row equilibration, i.e., A has been premultiplied by\n\
* diag(R).\n\
* = 'C': Column equilibration, i.e., A has been postmultiplied\n\
* by diag(C).\n\
* = 'B': Both row and column equilibration, i.e., A has been\n\
* replaced by diag(R) * A * diag(C).\n\
*\n\
* Internal Parameters\n\
* ===================\n\
*\n\
* THRESH is a threshold value used to decide if row or column scaling\n\
* should be done based on the ratio of the row or column scaling\n\
* factors. If ROWCND < THRESH, row scaling is done, and if\n\
* COLCND < THRESH, column scaling is done.\n\
*\n\
* LARGE and SMALL are threshold values used to decide if row scaling\n\
* should be done based on the absolute size of the largest matrix\n\
* element. If AMAX > LARGE or AMAX < SMALL, row scaling is done.\n\
*\n\n\
* =====================================================================\n\
*\n"
|