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
|
---
:name: dzsum1
:md5sum: 4c611d4aef843b07b606ed1beec14057
:category: :function
:type: doublereal
:arguments:
- n:
:type: integer
:intent: input
- cx:
:type: doublecomplex
:intent: input
:dims:
- n
- incx:
:type: integer
:intent: input
:substitutions: {}
:fortran_help: " DOUBLE PRECISION FUNCTION DZSUM1( N, CX, INCX )\n\n\
* Purpose\n\
* =======\n\
*\n\
* DZSUM1 takes the sum of the absolute values of a complex\n\
* vector and returns a double precision result.\n\
*\n\
* Based on DZASUM from the Level 1 BLAS.\n\
* The change is to use the 'genuine' absolute value.\n\
*\n\
* Contributed by Nick Higham for use with ZLACON.\n\
*\n\n\
* Arguments\n\
* =========\n\
*\n\
* N (input) INTEGER\n\
* The number of elements in the vector CX.\n\
*\n\
* CX (input) COMPLEX*16 array, dimension (N)\n\
* The vector whose elements will be summed.\n\
*\n\
* INCX (input) INTEGER\n\
* The spacing between successive values of CX. INCX > 0.\n\
*\n\n\
* =====================================================================\n\
*\n\
* .. Local Scalars ..\n INTEGER I, NINCX\n DOUBLE PRECISION STEMP\n\
* ..\n\
* .. Intrinsic Functions ..\n INTRINSIC ABS\n\
* ..\n"
|