(handle, uplo, n, alpha, x, inx, y, incy, AP)
Rank-2 operation on double precision Hermitian packed matrix.

    References
    ----------
    `cublas<t>hpr2 <http://docs.nvidia.com/cuda/cublas/#cublas-lt-t-gt-hpr2>`_
Rank-2 operation on double precision Hermitian packed matrix.
Rank - 2 operation on double precision Hermitian packed matrix .
def cublasZhpr2(handle, uplo, n, alpha, x, inx, y, incy, AP):
    """
    Rank-2 operation on double precision Hermitian packed matrix.

    References
    ----------
    `cublas<t>hpr2 <http://docs.nvidia.com/cuda/cublas/#cublas-lt-t-gt-hpr2>`_
    """

    status = _libcublas.cublasZhpr2_v2(handle,
                                       _CUBLAS_FILL_MODE[uplo],
                                       n, ctypes.byref(cuda.cuDoubleComplex(alpha.real,
                                                                            alpha.imag)),
                                       int(x), incx, int(y), incy, int(AP))
    cublasCheckStatus(status)
def cublasZhpr2 ( handle , uplo , n , alpha , x , inx , y , incy , AP ) : status = _libcublas . cublasZhpr2_v2 ( handle , _CUBLAS_FILL_MODE [ uplo ] , n , ctypes . byref ( cuda . cuDoubleComplex ( alpha . real , alpha . imag ) ) , int ( x ) , incx , int ( y ) , incy , int ( AP ) ) cublasCheckStatus ( status )