(A)
return 1
Return the block size of a matrix.
Return the block size of a matrix.
Return the block size of a matrix .
def get_blocksize(A):
    """Return the block size of a matrix."""
    if isspmatrix_bsr(A):
        return A.blocksize[0]
    return 1
def get_blocksize ( A ) : if isspmatrix_bsr ( A ) : return A . blocksize [ 0 ] return 1