Sedimentation of generalized systems of interacting particles. I. Solution of systems of complete Lamm equations