      COMPLEX FUNCTION WCDOTC( N, CX, INCX, CY, INCY )
      INTEGER INCX, INCY, N
      COMPLEX CX(*), CY(*)
      COMPLEX RESULT
      EXTERNAL ACC_CDOTC_SUB
      CALL ACC_CDOTC_SUB( N, CX, INCX, CY, INCY, RESULT )
      WCDOTC = RESULT
      END FUNCTION

      COMPLEX FUNCTION WCDOTU( N, CX, INCX, CY, INCY )
      INTEGER INCX, INCY, N
      COMPLEX CX(*), CY(*)
      COMPLEX RESULT
      EXTERNAL ACC_CDOTU_SUB
      CALL ACC_CDOTU_SUB( N, CX, INCX, CY, INCY, RESULT )
      WCDOTU = RESULT
      END FUNCTION

      DOUBLE COMPLEX FUNCTION WZDOTC( N, CX, INCX, CY, INCY )
      INTEGER INCX, INCY, N
      DOUBLE COMPLEX CX(*), CY(*)
      DOUBLE COMPLEX RESULT
      EXTERNAL ACC_ZDOTC_SUB
      CALL ACC_ZDOTC_SUB( N, CX, INCX, CY, INCY, RESULT )
      WZDOTC = RESULT
      END FUNCTION

      DOUBLE COMPLEX FUNCTION WZDOTU( N, CX, INCX, CY, INCY )
      INTEGER INCX, INCY, N
      DOUBLE COMPLEX CX(*), CY(*)
      DOUBLE COMPLEX RESULT
      EXTERNAL ACC_ZDOTU_SUB
      CALL ACC_ZDOTU_SUB( N, CX, INCX, CY, INCY, RESULT )
      WZDOTU = RESULT
      END FUNCTION

      COMPLEX FUNCTION WCLADIV( X, Y )
      COMPLEX            X, Y
      EXTERNAL SLADIV
      INTRINSIC          AIMAG, CMPLX, REAL
      REAL               ZI, ZR
      CALL SLADIV( REAL( X ), AIMAG( X ), REAL( Y ), AIMAG( Y ), ZR,
     $             ZI )
      WCLADIV = CMPLX( ZR, ZI )
      END FUNCTION

      DOUBLE COMPLEX FUNCTION WZLADIV( X, Y )
      DOUBLE COMPLEX     X, Y
      EXTERNAL DLADIV
      INTRINSIC          DBLE, DCMPLX, DIMAG
      DOUBLE PRECISION   ZI, ZR
      CALL DLADIV( DBLE( X ), DIMAG( X ), DBLE( Y ), DIMAG( Y ), ZR,
     $             ZI )
      WZLADIV = DCMPLX( ZR, ZI )
      END FUNCTION
