Generalized inverses of linear operators