I think this function can be written as `return op(np.linalg.svd(m, compute_uv=False))` I think