Generalized Green's functions and generalized inverses for linear differential systems with Stieltjes boundary conditions