(jobu, jobvt, m, n, a, lda, s, u, ldu, vt, ldvt, work, lwork,
                 rwork)
SVD decomposition.
SVD decomposition.
SVD decomposition .
def magma_cgesvd(jobu, jobvt, m, n, a, lda, s, u, ldu, vt, ldvt, work, lwork,
                 rwork):
    """
    SVD decomposition.
    """

    jobu = _vec_conversion[jobu]
    jobvt = _vec_conversion[jobvt]
    info = c_int_type()
    status = _libmagma.magma_cgesvd(jobu, jobvt, m, n,
                                    int(a), lda, int(s), int(u), ldu,
                                    int(vt), ldvt, int(work), lwork,
                                    int(rwork), ctypes.byref(info))
    magmaCheckStatus(status)
def magma_cgesvd ( jobu , jobvt , m , n , a , lda , s , u , ldu , vt , ldvt , work , lwork , rwork ) : jobu = _vec_conversion [ jobu ] jobvt = _vec_conversion [ jobvt ] info = c_int_type ( ) status = _libmagma . magma_cgesvd ( jobu , jobvt , m , n , int ( a ) , lda , int ( s ) , int ( u ) , ldu , int ( vt ) , ldvt , int ( work ) , lwork , int ( rwork ) , ctypes . byref ( info ) ) magmaCheckStatus ( status )