(desc)
return _libcusparse.cusparseGetMatType(desc)
Gets the matrix type of the specified matrix.

    Parameters
    ----------
    desc : cusparseMatDescr
        Matrix descriptor.

    Returns
    -------
    type : int
        Matrix type.
Gets the matrix type of the specified matrix.
Gets the matrix type of the specified matrix .
def cusparseGetMatType(desc):
    """
    Gets the matrix type of the specified matrix.

    Parameters
    ----------
    desc : cusparseMatDescr
        Matrix descriptor.

    Returns
    -------
    type : int
        Matrix type.

    """

    return _libcusparse.cusparseGetMatType(desc)
def cusparseGetMatType ( desc ) : return _libcusparse . cusparseGetMatType ( desc )