Generalizing interfaces to lapack-like/funcs