.TH "asum" 3 "Version 3.12.0" "LAPACK" \" -*- nroff -*- .ad l .nh .SH NAME asum \- asum: sum | real( x_i ) | + | imag( x_i ) | .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "double precision function \fBdasum\fP (n, dx, incx)" .br .RI "\fBDASUM\fP " .ti -1c .RI "double precision function \fBdzasum\fP (n, zx, incx)" .br .RI "\fBDZASUM\fP " .ti -1c .RI "real function \fBsasum\fP (n, sx, incx)" .br .RI "\fBSASUM\fP " .ti -1c .RI "real function \fBscasum\fP (n, cx, incx)" .br .RI "\fBSCASUM\fP " .in -1c .SH "Detailed Description" .PP .SH "Function Documentation" .PP .SS "double precision function dasum (integer n, double precision, dimension(*) dx, integer incx)" .PP \fBDASUM\fP .PP \fBPurpose:\fP .RS 4 .PP .nf DASUM takes the sum of the absolute values\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER number of elements in input vector(s) .fi .PP .br \fIDX\fP .PP .nf DX is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) .fi .PP .br \fIINCX\fP .PP .nf INCX is INTEGER storage spacing between elements of DX .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 \fBFurther Details:\fP .RS 4 .PP .nf jack dongarra, linpack, 3/11/78\&. modified 3/93 to return if incx \&.le\&. 0\&. modified 12/3/93, array(1) declarations changed to array(*) .fi .PP .RE .PP .PP Definition at line \fB70\fP of file \fBdasum\&.f\fP\&. .SS "double precision function dzasum (integer n, complex*16, dimension(*) zx, integer incx)" .PP \fBDZASUM\fP .PP \fBPurpose:\fP .RS 4 .PP .nf DZASUM takes the sum of the (|Re(\&.)| + |Im(\&.)|)'s of a complex vector and returns a double precision result\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER number of elements in input vector(s) .fi .PP .br \fIZX\fP .PP .nf ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) .fi .PP .br \fIINCX\fP .PP .nf INCX is INTEGER storage spacing between elements of ZX .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 \fBFurther Details:\fP .RS 4 .PP .nf jack dongarra, 3/11/78\&. modified 3/93 to return if incx \&.le\&. 0\&. modified 12/3/93, array(1) declarations changed to array(*) .fi .PP .RE .PP .PP Definition at line \fB71\fP of file \fBdzasum\&.f\fP\&. .SS "real function sasum (integer n, real, dimension(*) sx, integer incx)" .PP \fBSASUM\fP .PP \fBPurpose:\fP .RS 4 .PP .nf SASUM takes the sum of the absolute values\&. uses unrolled loops for increment equal to one\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER number of elements in input vector(s) .fi .PP .br \fISX\fP .PP .nf SX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) .fi .PP .br \fIINCX\fP .PP .nf INCX is INTEGER storage spacing between elements of SX .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 \fBFurther Details:\fP .RS 4 .PP .nf jack dongarra, linpack, 3/11/78\&. modified 3/93 to return if incx \&.le\&. 0\&. modified 12/3/93, array(1) declarations changed to array(*) .fi .PP .RE .PP .PP Definition at line \fB71\fP of file \fBsasum\&.f\fP\&. .SS "real function scasum (integer n, complex, dimension(*) cx, integer incx)" .PP \fBSCASUM\fP .PP \fBPurpose:\fP .RS 4 .PP .nf SCASUM takes the sum of the (|Re(\&.)| + |Im(\&.)|)'s of a complex vector and returns a single precision result\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER number of elements in input vector(s) .fi .PP .br \fICX\fP .PP .nf CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) .fi .PP .br \fIINCX\fP .PP .nf INCX is INTEGER storage spacing between elements of SX .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 \fBFurther Details:\fP .RS 4 .PP .nf jack dongarra, linpack, 3/11/78\&. modified 3/93 to return if incx \&.le\&. 0\&. modified 12/3/93, array(1) declarations changed to array(*) .fi .PP .RE .PP .PP Definition at line \fB71\fP of file \fBscasum\&.f\fP\&. .SH "Author" .PP Generated automatically by Doxygen for LAPACK from the source code\&.