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
|
---
:name: zlat2c
:md5sum: dcca8cca30b42aa080136a071f79dc3c
:category: :subroutine
:arguments:
- uplo:
:type: char
:intent: input
- n:
:type: integer
:intent: input
- a:
:type: doublecomplex
:intent: input
:dims:
- lda
- n
- lda:
:type: integer
:intent: input
- sa:
:type: complex
:intent: output
:dims:
- ldsa
- n
- ldsa:
:type: integer
:intent: input
- info:
:type: integer
:intent: output
:substitutions:
ldsa: MAX(1,n)
:fortran_help: " SUBROUTINE ZLAT2C( UPLO, N, A, LDA, SA, LDSA, INFO )\n\n\
* Purpose\n\
* =======\n\
*\n\
* ZLAT2C converts a COMPLEX*16 triangular matrix, SA, to a COMPLEX\n\
* triangular matrix, A.\n\
*\n\
* RMAX is the overflow for the SINGLE PRECISION arithmetic\n\
* ZLAT2C checks that all the entries of A are between -RMAX and\n\
* RMAX. If not the conversion is aborted and a flag is raised.\n\
*\n\
* This is an auxiliary routine so there is no argument checking.\n\
*\n\n\
* Arguments\n\
* =========\n\
*\n\
* UPLO (input) CHARACTER*1\n\
* = 'U': A is upper triangular;\n\
* = 'L': A is lower triangular.\n\
*\n\
* N (input) INTEGER\n\
* The number of rows and columns of the matrix A. N >= 0.\n\
*\n\
* A (input) COMPLEX*16 array, dimension (LDA,N)\n\
* On entry, the N-by-N triangular coefficient matrix A.\n\
*\n\
* LDA (input) INTEGER\n\
* The leading dimension of the array A. LDA >= max(1,N).\n\
*\n\
* SA (output) COMPLEX array, dimension (LDSA,N)\n\
* Only the UPLO part of SA is referenced. On exit, if INFO=0,\n\
* the N-by-N coefficient matrix SA; if INFO>0, the content of\n\
* the UPLO part of SA is unspecified.\n\
*\n\
* LDSA (input) INTEGER\n\
* The leading dimension of the array SA. LDSA >= max(1,M).\n\
*\n\
* INFO (output) INTEGER\n\
* = 0: successful exit.\n\
* = 1: an entry of the matrix A is greater than the SINGLE\n\
* PRECISION overflow threshold, in this case, the content\n\
* of the UPLO part of SA in exit is unspecified.\n\
*\n\
* =========\n\
*\n\
* .. Local Scalars ..\n INTEGER I, J\n DOUBLE PRECISION RMAX\n LOGICAL UPPER\n\
* ..\n\
* .. Intrinsic Functions ..\n INTRINSIC DBLE, DIMAG\n\
* ..\n\
* .. External Functions ..\n REAL SLAMCH\n LOGICAL LSAME\n EXTERNAL SLAMCH, LSAME\n\
* ..\n"
|