Wrapper for dgetri_lwork.
n : input int
work : float
info : int
scipy.linalg.lapack.sgetri_lwork
scipy.linalg.lapack.cgetri_lwork