def _get_umf_family(A):
 family = {'di': 'di', 'Di': 'zi', 'dl': 'dl', 'Dl': 'zl'}
 dt = (A.dtype.char + A.indices.dtype.char)
 return family[dt]

def _get_umf_family ( A ) : family = { 'di' : 'di' , 'Di' : 'zi' , 'dl' : 'dl' , 'Dl' : 'zl' } dt = ( A . dtype . char + A . indices . dtype . char ) return family [ dt ]
get umfpack family string given the sparse matrix dtype .