1DSDOT(1)                         BLAS routine                         DSDOT(1)
2
3
4

NAME

6       DSDOT - and result
7

SYNOPSIS

9       DOUBLE PRECISION FUNCTION DSDOT(N,SX,INCX,SY,INCY)
10
11           INTEGER      INCX,INCY,N
12
13           REAL         SX(*),SY(*)
14

PURPOSE

16       precision accumulation and result.
17
18       Returns  D.P. dot product accumulated in D.P., for S.P. SX and SY DSDOT
19       = sum for I = 0 to N-1 of  SX(LX+I*INCX) * SY(LY+I*INCY), where LX =  1
20       if  INCX .GE. 0, else LX = 1+(1-N)*INCX, and LY is defined in a similar
21       way using INCY.
22
23

ARGUMENTS

25       N      (input) INTEGER
26              number of elements in input vector(s)
27
28       SX     (input) REAL array, dimension(N)
29              single precision vector with N elements
30
31       INCX   (input) INTEGER
32              storage spacing between elements of SX
33
34       SY     (input) REAL array, dimension(N)
35              single precision vector with N elements
36
37       INCY   (input) INTEGER
38              storage spacing between elements of SY
39
40       DSDOT  (output) DOUBLE PRECISION
41              DSDOT  double precision dot product (zero if N.LE.0)
42
43              REFERENCES ========== C. L. Lawson, R. J. Hanson, D. R.  Kincaid
44              and  F.  T.  Krogh, Basic linear algebra subprograms for Fortran
45              usage, Algorithm No. 539, Transactions on Mathematical  Software
46              5, 3 (September 1979), pp. 308-323.
47
48              REVISION HISTORY  (YYMMDD) ==========================
49
50       791001  DATE WRITTEN
51               890831   Modified  array  declarations.  (WRB) 890831  REVISION
52               DATE from Version 3.2 891214  Prologue converted to Version 4.0
53               format.   (BAB)  920310  Corrected definition of LX in DESCRIP‐
54               TION.  (WRB) 920501  Reformatted the REFERENCES section.  (WRB)
55               070118  Reformat to LAPACK style (JL)
56
57
58
59BLAS routine                     February 2007                        DSDOT(1)
Impressum