Generalized Universal Function versions of several numpy.lib functions