.TH "sum1" 3 "Wed Feb 7 2024 11:30:40" "Version 3.12.0" "LAPACK" \" -*- nroff -*- .ad l .nh .SH NAME sum1 \- sum1: sum | x_i | (in LAPACK) .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "double precision function \fBdzsum1\fP (n, cx, incx)" .br .RI "\fBDZSUM1\fP forms the 1-norm of the complex vector using the true absolute value\&. " .ti -1c .RI "real function \fBscsum1\fP (n, cx, incx)" .br .RI "\fBSCSUM1\fP forms the 1-norm of the complex vector using the true absolute value\&. " .in -1c .SH "Detailed Description" .PP .SH "Function Documentation" .PP .SS "double precision function dzsum1 (integer n, complex*16, dimension( * ) cx, integer incx)" .PP \fBDZSUM1\fP forms the 1-norm of the complex vector using the true absolute value\&. .PP \fBPurpose:\fP .RS 4 .PP .nf DZSUM1 takes the sum of the absolute values of a complex vector and returns a double precision result\&. Based on DZASUM from the Level 1 BLAS\&. The change is to use the 'genuine' absolute value\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER The number of elements in the vector CX\&. .fi .PP .br \fICX\fP .PP .nf CX is COMPLEX*16 array, dimension (N) The vector whose elements will be summed\&. .fi .PP .br \fIINCX\fP .PP .nf INCX is INTEGER The spacing between successive values of CX\&. INCX > 0\&. .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBContributors:\fP .RS 4 Nick Higham for use with ZLACON\&. .RE .PP .SS "real function scsum1 (integer n, complex, dimension( * ) cx, integer incx)" .PP \fBSCSUM1\fP forms the 1-norm of the complex vector using the true absolute value\&. .PP \fBPurpose:\fP .RS 4 .PP .nf SCSUM1 takes the sum of the absolute values of a complex vector and returns a single precision result\&. Based on SCASUM from the Level 1 BLAS\&. The change is to use the 'genuine' absolute value\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER The number of elements in the vector CX\&. .fi .PP .br \fICX\fP .PP .nf CX is COMPLEX array, dimension (N) The vector whose elements will be summed\&. .fi .PP .br \fIINCX\fP .PP .nf INCX is INTEGER The spacing between successive values of CX\&. INCX > 0\&. .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBContributors:\fP .RS 4 Nick Higham for use with CLACON\&. .RE .PP .SH "Author" .PP Generated automatically by Doxygen for LAPACK from the source code\&.