(n, ilo, ihi, A, lda, tau,
                  work, lwork)
Reduce matrix to upper Hessenberg form.
Reduce matrix to upper Hessenberg form.
Reduce matrix to upper Hessenberg form .
def magma_sgehrd2(n, ilo, ihi, A, lda, tau,
                  work, lwork):
    """
    Reduce matrix to upper Hessenberg form.
    """

    info = c_int_type()
    status = _libmagma.magma_sgehrd2(n, ilo, ihi, int(A), lda,
                                     int(tau), int(work),
                                     lwork, ctypes.byref(info))
    magmaCheckStatus(status)
def magma_sgehrd2 ( n , ilo , ihi , A , lda , tau , work , lwork ) : info = c_int_type ( ) status = _libmagma . magma_sgehrd2 ( n , ilo , ihi , int ( A ) , lda , int ( tau ) , int ( work ) , lwork , ctypes . byref ( info ) ) magmaCheckStatus ( status )