SCALAPACK 2.2.2
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches
dzvasum.f
Go to the documentation of this file.
1 SUBROUTINE dzvasum( N, ASUM, X, INCX )
2*
3* -- PBLAS auxiliary routine (version 2.0) --
4* University of Tennessee, Knoxville, Oak Ridge National Laboratory,
5* and University of California, Berkeley.
6* April 1, 1998
7*
8* .. Scalar Arguments ..
9 INTEGER INCX, N
10 DOUBLE PRECISION ASUM
11* ..
12* .. Array Arguments ..
13 COMPLEX*16 X( * )
14* ..
15*
16* Purpose
17* =======
18*
19* DZVASUM returns the sum of absolute values of the entries of a vector
20* x.
21*
22* Arguments
23* =========
24*
25* N (input) INTEGER
26* On entry, N specifies the length of the vector x. N must be
27* at least zero.
28*
29* ASUM (output) COMPLEX*16
30* On exit, ASUM specifies the sum of absolute values.
31*
32* X (input) COMPLEX*16 array of dimension at least
33* ( 1 + ( n - 1 )*abs( INCX ) ). Before entry, the incremented
34* array X must contain the vector x.
35*
36* INCX (input) INTEGER
37* On entry, INCX specifies the increment for the elements of X.
38* INCX must not be zero.
39*
40* -- Written on April 1, 1998 by
41* Antoine Petitet, University of Tennessee, Knoxville 37996, USA.
42*
43* =====================================================================
44*
45* .. External Functions ..
46 DOUBLE PRECISION DZASUM
47 EXTERNAL dzasum
48* ..
49* .. Executable Statements ..
50*
51 asum = dzasum( n, x, incx )
52*
53 RETURN
54*
55* End of DZVASUM
56*
57 END
subroutine dzvasum(n, asum, x, incx)
Definition dzvasum.f:2