aboutsummaryrefslogtreecommitdiffhomepage
path: root/blas/complexdots.f
blob: a7da51d160c54204fef4e3a69e6f0a725b03b5ec (plain)
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
      COMPLEX FUNCTION CDOTC(N,CX,INCX,CY,INCY)
      INTEGER INCX,INCY,N
      COMPLEX CX(*),CY(*)
      COMPLEX RES
      EXTERNAL CDOTCW
      
      CALL CDOTCW(N,CX,INCX,CY,INCY,RES)
      CDOTC = RES
      RETURN
      END
      
      COMPLEX FUNCTION CDOTU(N,CX,INCX,CY,INCY)
      INTEGER INCX,INCY,N
      COMPLEX CX(*),CY(*)
      COMPLEX RES
      EXTERNAL CDOTUW
      
      CALL CDOTUW(N,CX,INCX,CY,INCY,RES)
      CDOTU = RES
      RETURN
      END
      
      DOUBLE COMPLEX FUNCTION ZDOTC(N,CX,INCX,CY,INCY)
      INTEGER INCX,INCY,N
      DOUBLE COMPLEX CX(*),CY(*)
      DOUBLE COMPLEX RES
      EXTERNAL ZDOTCW
      
      CALL ZDOTCW(N,CX,INCX,CY,INCY,RES)
      ZDOTC = RES
      RETURN
      END
      
      DOUBLE COMPLEX FUNCTION ZDOTU(N,CX,INCX,CY,INCY)
      INTEGER INCX,INCY,N
      DOUBLE COMPLEX CX(*),CY(*)
      DOUBLE COMPLEX RES
      EXTERNAL ZDOTUW
      
      CALL ZDOTUW(N,CX,INCX,CY,INCY,RES)
      ZDOTU = RES
      RETURN
      END