You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
979 B

  1. COMPLEX FUNCTION CDOTC(N,CX,INCX,CY,INCY)
  2. INTEGER INCX,INCY,N
  3. COMPLEX CX(*),CY(*)
  4. COMPLEX RES
  5. EXTERNAL CDOTCW
  6. CALL CDOTCW(N,CX,INCX,CY,INCY,RES)
  7. CDOTC = RES
  8. RETURN
  9. END
  10. COMPLEX FUNCTION CDOTU(N,CX,INCX,CY,INCY)
  11. INTEGER INCX,INCY,N
  12. COMPLEX CX(*),CY(*)
  13. COMPLEX RES
  14. EXTERNAL CDOTUW
  15. CALL CDOTUW(N,CX,INCX,CY,INCY,RES)
  16. CDOTU = RES
  17. RETURN
  18. END
  19. DOUBLE COMPLEX FUNCTION ZDOTC(N,CX,INCX,CY,INCY)
  20. INTEGER INCX,INCY,N
  21. DOUBLE COMPLEX CX(*),CY(*)
  22. DOUBLE COMPLEX RES
  23. EXTERNAL ZDOTCW
  24. CALL ZDOTCW(N,CX,INCX,CY,INCY,RES)
  25. ZDOTC = RES
  26. RETURN
  27. END
  28. DOUBLE COMPLEX FUNCTION ZDOTU(N,CX,INCX,CY,INCY)
  29. INTEGER INCX,INCY,N
  30. DOUBLE COMPLEX CX(*),CY(*)
  31. DOUBLE COMPLEX RES
  32. EXTERNAL ZDOTUW
  33. CALL ZDOTUW(N,CX,INCX,CY,INCY,RES)
  34. ZDOTU = RES
  35. RETURN
  36. END